TensorRT-Alpha icon indicating copy to clipboard operation
TensorRT-Alpha copied to clipboard

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.

Open ningjianfeng opened this issue 1 year ago • 2 comments

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.

ningjianfeng avatar May 13 '24 06:05 ningjianfeng

@ningjianfeng
install opencv: sudo apt-get install libopencv-dev

FeiYull avatar May 16 '24 02:05 FeiYull

@ningjianfeng install opencv: sudo apt-get install libopencv-dev

好的 谢谢了 已经跑通了

ningjianfeng avatar May 16 '24 02:05 ningjianfeng