Ask Your Question

Sentinal_Bais's profile - activity

2017-09-24 09:46:38 -0600 received badge  Notable Question (source)
2014-06-16 05:06:11 -0600 received badge  Popular Question (source)
2013-01-17 22:11:12 -0600 received badge  Editor (source)
2013-01-17 22:09:56 -0600 asked a question Opencv and Cmake not working

Hi I am using cmake to build a vs2010 project I am using windows 7 64 bit. Here are my path variables to opencv C:\opencv\build\x86\vc10\bin C:\opencv\build\common\tbb\ia32\vc10

I am using the using the following cmake opencv tutorial http://opencv.willowgarage.com/wiki/Getting_started -using the same code and the same cmake list.

But i get the following error

CMake Warning at /opencv/cmake/OpenCVConfig.cmake:153 (message): Found OpenCV 2.4.2 Windows Super Pack but it has not binaries compatible with your configuration.

  You should manually point CMake variable OpenCV_DIR to your build of OpenCV library.

Call Stack (most recent call first): CMakeLists.txt:2 (FIND_PACKAGE)

CMake Error at CMakeLists.txt:2 (FIND_PACKAGE): Found package configuration file:

/opencv/cmake/OpenCVConfig.cmake

but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND. ------------------------------------------------------ end of error

note I don't want to compile 64bit code. I think by default vs2010 compiler for projects is 32bit code.

Any ideas?