【问题标题】:Torch OpenCV integrationTorch OpenCV 集成
【发布时间】:2018-05-13 23:34:26
【问题描述】:

我想在 Torch 中安装 opencv 包。我已经安装了opencv,它工作正常。使用luarocks install cv 在torch 中安装cv 包后,出现以下错误。

CMake Error at CMakeLists.txt:30 (FIND_PACKAGE):
Could not find a configuration file for package "OpenCV" that exactly
matches requested version "3.1".

The following configuration files were considered but not accepted:

/home/user/opencv-3.1.0/cmake/OpenCVConfig.cmake, version: unknown
/usr/local/share/OpenCV/OpenCVConfig.cmake, version: 3.3.0



-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_cv-scm-1-5467/torch-
opencv/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.

有没有办法解决这个问题?

【问题讨论】:

    标签: opencv torch


    【解决方案1】:

    你可以看看GitHub page的安装指南

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-23
      • 2017-03-04
      • 2013-01-26
      • 2016-04-19
      • 2016-09-14
      • 2021-10-12
      相关资源
      最近更新 更多