Ask Your Question
0

OpenCV Installation issues VC10

asked Feb 22 '13

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

Preview: (hide)

1 answer

Sort by » oldest newest most voted
2

answered Feb 22 '13

berak gravatar image

updated Feb 22 '13

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.
Preview: (hide)

Question Tools

Stats

Asked: Feb 22 '13

Seen: 688 times

Last updated: Feb 22 '13