CMake error while building MultiTarget-tracker library.

asked 2016-11-24 01:05:09 -0500

Suraksha gravatar image

I'm trying to build Multitarget-tracker using CMake in windows. Initially i had the warning below,

You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): CMakeLists.txt:57 (find_package)

I manually pointed out the directory of build version of OpenCV library and tried to build. I referred this link while building.

Warning:

CMake Warning at CMakeLists.txt:23 (FIND_PACKAGE): Found package configuration file: C:/OpenCV/opencv/build/x86/vc12/lib/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND.

I checked the OpenCV_FOUND, but after i press 'configure' again, it automatically unchecks.

edit retag flag offensive close merge delete

Comments

last one month I'm also stuck at same place

ManuVISION gravatar imageManuVISION ( 2016-11-24 01:45:48 -0500 )edit

Which version and platform ? I have just downloaded and compile and link using VS 2015 and CMake 3.5.1 there is no problem. When you have got this error message you have to git path to opencv binaries (path where you have build opencv. in cmake gui it is in "Where to build the binaries"

LBerger gravatar imageLBerger ( 2016-11-24 03:12:35 -0500 )edit