Ask Your Question
0

fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory

asked 2012-12-13 20:58:06 -0600

zoozoc gravatar image

So I am receiving this error when I try and compile my program. I was following a video on youtube on setting up OpenCV with Visual Studio 2010 (found here). I am just trying to set up an environment where I can learn how to use OpenCV. It doesn't help that I'm not familiar with VS. I'm trying to use version 2.4.3 . The tutorial uses 2.1.0 .

Anyways I get the error. fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory

I follow the steps in the video, and nothing goes wrong up until this point. According to one of the other questions, this was due to not including the proper file.

image description

I include the include files found in C:\Program Files\opencv\include. The #include only works if I use < opencv\cxcore.h > . Without that, I get the error fatal error C1083: Cannot open include file: 'cv.h': No such file or directory.

I'm not sure why the program is even looking for that file. Anyways, any help would be appreciated. I'm just trying to setup OpenCV so that I can start figuring out how to use it.

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2012-12-13 21:18:05 -0600

prsgoncalves gravatar image

You can try this video: http://www.youtube.com/watch?v=cgo0UitHfp8

Work well with me.

edit flag offensive delete link more

Comments

thanks, it worked like a charm. Much easier than the other tutorial.

zoozoc gravatar imagezoozoc ( 2012-12-15 10:18:35 -0600 )edit

Question Tools

Stats

Asked: 2012-12-13 20:58:06 -0600

Seen: 20,419 times

Last updated: Dec 13 '12