Skip to content
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

Closed
duan348733684 opened this issue Sep 18, 2017 · 6 comments
Closed

Configuring incomplete, errors occurred #139

duan348733684 opened this issue Sep 18, 2017 · 6 comments

Comments

@duan348733684
Copy link

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:

/home/duanchao/opencv-2.4.13/cmake/OpenCVConfig.cmake

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".

请问下这是怎么回事 怎么解决 搞了几天了  泪奔

@nihui
Copy link
Member

nihui commented Sep 18, 2017

下载 opencv linux 源码编译,或者安装发行版自己的 opencv

@nihui
Copy link
Member

nihui commented Oct 18, 2017

比如 ubuntu

sudo apt-get install libprotobuf-dev libopencv-dev protobuf-compiler

@nihui nihui closed this as completed Oct 18, 2017
@Rainy000
Copy link

Rainy000 commented Nov 1, 2017

@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:

/home/yuang/opencv-2.4.13/release/OpenCVModules_armeabi_v7a.cmake

Call Stack (most recent call first):
examples/CMakeLists.txt:13 (find_package)

CMake Error at /home/yuang/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
include could not find load file:

/home/yuang/opencv-2.4.13/release/OpenCVModules_armeabi_v7a.cmake

Call Stack (most recent call first):
examples/ssd/CMakeLists.txt:1 (find_package)

CMake Error at /home/yuang/opencv-2.4.13/release/OpenCVConfig.cmake:71 (include):
include could not find load file:

/home/yuang/opencv-2.4.13/release/OpenCVModules_armeabi_v7a.cmake

Call Stack (most recent call first):
mtcnn/CMakeLists.txt:2 (find_package)

The version of ncnn I used is :https://github.com/ElegantGod/ncnn
Can you give me some advice?

@XiaYuanxiang
Copy link

@Rainy000
do you solved the second problem?include could not find load file:
/home/yuang/opencv-2.4.13/release/OpenCVModules_armeabi_v7a.cmake
I meet the same problem

@Rainy000
Copy link

@XiaYuanxiang Yes, maybe just replace the opencv library. Sorry, It's too long I can not remeber..

@XiaYuanxiang
Copy link

@Rainy000 It's OK,I solved the problem。I had build the ncnn before,so I just re-git clone and rebuild,it workes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants