【发布时间】: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.
有没有办法解决这个问题?
【问题讨论】: