Myzhar / Lepton3_Jetson

Library and examples to connect the FLIR Lepton3 thermal camera to Nvidia Jetson embedded boards
MIT License
52 stars 15 forks source link

Cmake Error #15

Closed jj-Anikan closed 1 year ago

jj-Anikan commented 1 year ago

When running 'cmake ..' inside the build directory which was created inside the Lepton3_Jetson git repository, this error appears? Is there something I am doing wrong or how can I go about fixing this? My system already has CMake version 3.26.1.

CMake Error at opencv_demo/CMakeLists.txt:3 (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.

jj-Anikan commented 1 year ago

Solved with sudo apt install libopencv-dev