-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configuring incomplete, errors occurred #139
Comments
下载 opencv linux 源码编译,或者安装发行版自己的 opencv |
比如 ubuntu sudo apt-get install libprotobuf-dev libopencv-dev protobuf-compiler |
@nihui I meet the same error before I change the "OpenCV_DIR", but when I change it from "/home/yuang/opencv-2.4.13/cmake” into "/home/yuang/opencv-2.4.13/release", then cmake show an error: CMake Error at /home/yuang/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include): include could not find load file:
Call Stack (most recent call first): CMake Error at /home/yuang/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
Call Stack (most recent call first): CMake Error at /home/yuang/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
Call Stack (most recent call first): The version of ncnn I used is :https://github.com/ElegantGod/ncnn |
@Rainy000 |
@XiaYuanxiang Yes, maybe just replace the opencv library. Sorry, It's too long I can not remeber.. |
@Rainy000 It's OK,I solved the problem。I had build the ncnn before,so I just re-git clone and rebuild,it workes |
duanchao@dc:~/ncnn/build$ cmake ..
-- CMAKE_INSTALL_PREFIX = /home/duanchao/ncnn/install
-- OpenCV ARCH:
-- OpenCV RUNTIME:
-- OpenCV STATIC: OFF
CMake Warning at /home/duanchao/opencv-2.4.13/cmake/OpenCVConfig.cmake:163 (message):
Found OpenCV Windows 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):
examples/CMakeLists.txt:2 (find_package)
CMake Error at examples/CMakeLists.txt:2 (find_package):
Found package configuration file:
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
-- Configuring incomplete, errors occurred!
See also "/home/duanchao/ncnn/CMakeFiles/CMakeOutput.log".
请问下这是怎么回事 怎么解决 搞了几天了 泪奔
The text was updated successfully, but these errors were encountered: