编译opencv时候,出现如下提示:
CMake Error at calib3d/CMakeLists.txt:1 (define_opencv_module):
Unknown CMake command "define_opencv_module".
CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as
cmake_minimum_required(VERSION 3.4)
should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.
为什么说define_opencv_module没有这个命令呢?我用的opencv2.3.1
我看了所有的cmakelist.txt,除了第一个androidcamera文件夹下是
IF(NOT ANDROID)
MESSAGE( FATAL_ERROR "This project is for ANDROID only" )
ENDIF()
if (BUILD_ANDROID_CAMERA_WRAPPER)
add_subdirectory(camera_wrapper)
endif()
........
其他的都是以define_opencv_module开始的,请问该怎么弄呢?
另外有没有什么其他的可以快速查看opencv函数定义的方法呀?