Toybrick

Debian10 V1.0固件/usr/share/rknn/rknn_ssd_demo编译出错

lodestar

wiki编辑

积分
521
楼主
发表于 2019-11-29 14:04:23    查看: 10285|回复: 2 | [复制链接]    打印 | 只看该作者
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$

帮忙看下可以解决不?
回复

使用道具 举报

jefferyzhang

版主

积分
13578
沙发
发表于 2019-11-30 19:12:32 | 只看该作者
opencv没装而已- -# apt install下
回复

使用道具 举报

Ptolemaeus

中级会员

积分
205
板凳
发表于 2021-3-11 08:24:02 | 只看该作者
哦,记得装opencv
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表