Ask Your Question
0

opencv on ununtu error on pointing Cmake variable opencv_DIR to build of opencv

asked 2016-01-06 21:07:35 -0600

Boney gravatar image

updated 2016-01-06 21:41:53 -0600

When I cmake my project it shows this: Found OpenCV Windows Pack but it has no 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:3 (find_package)

Can anyone help how to fix these in ubuntu? How to point Cmake variable OpenCV_DIR to build of opencv? I have checked everywhere but i am unable to find a satisfactory answer.

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2016-01-12 06:37:58 -0600

tomnjerry gravatar image

You seem to have installed OpenCV for windows and trying to run them on Ubuntu which for obvious reasons would not work. You need to download correct version of OpenCV compatible with your system. Here is the guide to download and successfully install OpenCV libraries for Ubuntu.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2016-01-06 21:07:35 -0600

Seen: 1,002 times

Last updated: Jan 12 '16