Could not find module FindOpenCV.cmake ( Error in configuration process)

前端 未结 12 2232
既然无缘
既然无缘 2020-11-29 02:04

I wrote a CMakeLists.txt for a project in C++, which uses OpenCV libraries. When I try to create the project using cmake, I ge

12条回答
  •  悲&欢浪女
    2020-11-29 02:31

    If you are on Linux, you just need to fill the OpenCV_DIR variable with the path of opencv (containing the OpenCVConfig.cmake file)

    export OpenCV_DIR=
    

提交回复
热议问题