Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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.

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

Any ideas?

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

be NOT FOUND.

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?

click to hide/show revision 3
retagged

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?