Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

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

$
0
0
I'm new to opencv. I followed the installation [instruction](http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_install/linux_install.html#linux-installation) 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](http://docs.opencv.org/2.4/doc/tutorials/introduction/linux_gcc_cmake/linux_gcc_cmake.html#linux-gcc-usage) 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?

Viewing all articles
Browse latest Browse all 19555

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>