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".
4 个解决方案
#1
cmake版本不要太高,我用的cmake-3.4.3可以
#2
试了 好像不行 我是win10系统
#3
楼主,问题解决了吗,我的也是Win10+vs2015+opencv3.0.0 遇到
#4
#1
cmake版本不要太高,我用的cmake-3.4.3可以
#2
试了 好像不行 我是win10系统
#3
楼主,问题解决了吗,我的也是Win10+vs2015+opencv3.0.0 遇到