标题: Debian10 V1.0固件/usr/share/rknn/rknn_ssd_demo编译出错 [打印本页] 作者: lodestar 时间: 2019-11-29 14:04 标题: Debian10 V1.0固件/usr/share/rknn/rknn_ssd_demo编译出错 Debian10 V1.0固件里面预置的/usr/share/rknn/rknn_ssd_demo,按照里面的README进行操作,cmake时就出错。
出错信息如下:
toybrick@debian10:/usr/share/rknn/rknn_ssd_demo/build$ sudo cmake ..
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:9 (find_package):
By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OpenCV", but
CMake did not find one.
Could not find a package configuration file provided by "OpenCV" with any
of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set
"OpenCV_DIR" to a directory containing one of the above files. If "OpenCV"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/usr/share/rknn/rknn_ssd_demo/build/CMakeFiles/CMakeOutput.log".
toybrick@debian10:/usr/share/rknn/rknn_ssd_demo/build$