Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.
  3. i'm confused about you mentioning qt here. if you want qt support, you'd want to compile that using qtcreator and mingw as compiler, not with vs10. so, in reverse, if you opt for vs10, you can skip all worries about installing qt (because you're not using any of it).

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.
  3. needed. 3. i'm confused about you mentioning qt here. if you want qt support, you'd want to compile that using qtcreator and mingw as compiler, not with vs10. so, in reverse, if you opt for vs10, you can skip all worries about installing qt (because you're not using any of it). (i'm wrong here)

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. 3. i'm confused about you mentioning qt here. if you want qt support, you'd want to compile that using qtcreator and mingw as compiler, not with vs10. so, in reverse, if you opt for vs10, you can skip all worries about installing qt (because you're not using any of it). (i'm wrong here)needed.