Ask Your Question
0

Opencv and Cmake not working

asked 2013-01-17 22:09:56 -0600

Sentinal_Bais gravatar image

updated 2013-01-18 07:31:26 -0600

Andrey Pavlenko gravatar image

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?

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
-2

answered 2013-01-17 23:40:32 -0600

Documentation on willowgarage is out-of-date and will be removed soon. Use official docs instead. There are several tutorials and how-to there, for example this and this.

edit flag offensive delete link more

Comments

I personally cannot currently find the solution to this error in the tutorials and have run into same problem of "OpenCV_FOUND to FALSE so package 'OpenCV' is considered to be NOT FOUND." when trying to build a different project. Is there any solution to that problem?

Almost gravatar imageAlmost ( 2013-05-04 14:13:41 -0600 )edit

Question Tools

Stats

Asked: 2013-01-17 22:09:56 -0600

Seen: 3,462 times

Last updated: Jan 17 '13