Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Can not compile: Found OpenCV Windows Pack but it has no binaries compatible, BUT I use linux

I'm new to opencv.

I followed the installation instruction for LINUX . I chose to install from the page on SourceForge. (SO NOW I have opencv-3.1.0 in my HOME directory) I continued all the steps in the instruction.

When executing cmake I put CMAKE_INSTALL_PREFIX= the directory of my "release" folder.

Then I moved on to the next tutorial on "Using OpenCV with gcc and cmake"

BUT when cmake . I got ERROR:

CMake Warning at /home/osboxes/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):

  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)
AND SO ON....
  1. I use LINUX, and pretty sure I donwloaded the opencv for linux. So why it says windows pack?
  2. The tutorial doesn't tell me where to put DIsplayImage.cpp and CMakeLists.txt I make a new folder called OpenCVTutorial in my home, and put them inside, on in the same directory.. Is that okay?
  3. How to fix it?

Can not compile: Found OpenCV Windows Pack but it has no binaries compatible, BUT I use linux

I'm new to opencv.

I followed the installation instruction for LINUX . I chose to install from the page on SourceForge. (SO NOW I have opencv-3.1.0 in my HOME directory) I continued all the steps in the instruction.

When executing cmake I put CMAKE_INSTALL_PREFIX= the directory of my "release" folder.

Then I moved on to the next tutorial on "Using OpenCV with gcc and cmake"

BUT when cmake . I got ERROR:

CMake Warning at /home/osboxes/opencv-3.1.0/cmake/OpenCVConfig.cmake:166 (message):

  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)
AND SO ON....
  1. I use LINUX, and pretty sure I donwloaded the opencv for linux. So why it says windows pack?
  2. The tutorial doesn't tell me where to put DIsplayImage.cpp and CMakeLists.txt I make a new folder called OpenCVTutorial in my home, and put them inside, on in the same directory.. Is that okay?
  3. How to fix it?