使用cmake生成OpenCV源代码工程的解决方案时遇到报错
使用的版本opencv-3.0.0.exe,cmake-3.9.1-win32-x86.exe,vs2015.求大神帮我看看怎么解决,网上看了一堆方法都没解决。
CMake Deprecation Warning at CMakeLists.txt:69 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:74 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
The CXX compiler identification is MSVC 19.0.24210.0
The C compiler identification is MSVC 19.0.24210.0
CMake Error at CMakeLists.txt:88 (project):
No CMAKE_CXX_COMPILER could be found.
CMake Error at CMakeLists.txt:88 (project):
No CMAKE_C_COMPILER could be found.
Configuring incomplete, errors occurred!
See also "D:/Program Files/opencv solutions/CMakeFiles/CMakeOutput.log".