cmake로 opencv를 빌드하려고하는데 문제가 발생했습니다.cmake 오류로 opencv 빌드하기
Windows opencv 2.3.1을 C:/Users/chris/opencv
에 다운로드했습니다. 내가 CMake GUI (CMake의 2.8.5 버전)을 열고 C:/Users/chris/opencv/modules
으로 소스 디렉토리를 넣어 C:/temp/opencv_binaries
에서 "바이너리를 구축하는 경우"를 나는 Configure
치고 내가 다시 Configure
충돌 Visual Studio 2010에서 Visual Studio 2010을 선택했다 다음과 같은 오류 출력이 표시됩니다.
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 2.8)
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.
Configuring incomplete, errors occurred!
무엇을 제공합니까? 이 문제를 해결하려면 어떻게해야합니까?