Ankit Gupta
Ankit Gupta

Reputation: 185

Error running Opencv sample code

I am starting with OpenCV on my new laptop, but there are some errors. I followed all the steps mentioned in the OpenCV tutorials in doc directory. But the sample code just does not work. This is the error:

">c:\users\ankit\documents\visual studio 2010\projects\test\test\test.cpp(7):
 fatal error C1083: Cannot open include file: 'opencv2/imgproc/imgproc.hpp':
 No such file or directory
1>
1>Build FAILED."

I am working on Win7 64 bit machine. I have already included Additional directories and libraries in Property Page. Still it gives me this error. Help.

Upvotes: 1

Views: 3479

Answers (1)

ArtemStorozhuk
ArtemStorozhuk

Reputation: 8725

You obviously entered a wrong include directory. Navigate to included directory and make sure that it contains file opencv2/imgproc/imgproc.hpp.

Update: Here's error doc. See all the causes.

Update #2:

About your new issue.

Upvotes: 1

Related Questions