Compiling opencv samples: unknown cmake command ocv_check_dependencies

后端 未结 8 1134
余生分开走
余生分开走 2020-12-06 02:05

I am trying to build the OpenCV samples which come with the source package and I get the following:

CMake Error at CMakeLists.txt:10 (ocv_check_dependencies)         


        
8条回答
  •  北荒
    北荒 (楼主)
    2020-12-06 02:11

    I got similar errors. My approach is as following: 1) cd xxx/samples 2) mkdir build 3) cd build 4) cmake .. 5) make Now it works. We could not build individual project under their source files.

提交回复
热议问题