Ask Your Question

zoozoc's profile - activity

2013-12-03 15:29:16 -0600 received badge  Famous Question (source)
2013-05-22 05:32:49 -0600 received badge  Notable Question (source)
2013-04-10 18:14:37 -0600 received badge  Popular Question (source)
2012-12-15 10:18:35 -0600 commented answer fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory

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

2012-12-13 20:58:06 -0600 asked a question fatal error C1083: Cannot open include file: 'opencv2/core/core_c.h': No such file or directory

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