Ask Your Question
0

OpenCV Installation issues VC10

asked 2013-02-22 13:16:34 -0600

Hello everyone. I am attempting to install OpenCV but am running into some trouble. I am installing Eigen and QT framework as well as per the installation write up as the others do not seem to be something I would be making use of. I got QT to work properly and everything configured and nmake worked no problem. After this I carried on an built the INSTALL as stated. However, my problem comes when it says to run some apps like contours.exe. I do not have that app in either Release or Debug and assume this means I am missing libraries etc. I tested this by following the steps of creating apps in VC10 the next part of the tutorial and when I put in the source code it says that Mat is undefined and that ": fatal error C1083: Cannot open include file: 'opencv2/imgproc/imgproc.hpp': No such file or directory" which although opencv2 exists it is true that there is no imgproc/imgproc.hpp. I am wondering how I am missing libraries while explicitly following the instructions.

Thank you for any responses and your time -Brennan

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2013-02-22 13:38:00 -0600

berak gravatar image

updated 2013-02-22 14:57:52 -0600

wait, that's a couple of problems at the same time, let's dissect ..

  1. i'm guessing, that you're using the prebuilt libraries (for the compiler/ide of your choice)

    so, adjust your include path to 'opencv/build/include' instead of 'opencv/include', and the Cannot open include file: 'opencv2/imgproc/imgproc.hpp' error will go away.

  2. contours.exe and such are demos/samples. the binaries for those are not in the distro. you have to buid them yourself, if needed.
edit flag offensive delete link more

Question Tools

Stats

Asked: 2013-02-22 13:16:34 -0600

Seen: 597 times

Last updated: Feb 22 '13