opencv编译问题...
编译环境为vc6.0 版本为opencv1.0
编译工具:cmake
问题:1.cmake配置下的生程的工程文件再编译和直接编译opencv安装文件下的工程得出的编译效果有什么区别?
2.cmake安装版本为cmake-2.8.7-win32-x86.exe,导入源文件后configration出现以下错误,
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.
意思好像是指版本太低,但我用的版本是2.8,有疑问了!!!!!
到底是怎么一回事呢?
如果忽略这个问题,继续generate会出现
CMake Error at cxcore/CMakeLists.txt:27 (add_library):
Cannot find source file:
E:/opencvlibrary-src/src/cxcore/../../include/opencv/cxcore.h
的问题!!!