Astra2425:
在cmake的configure中
报错显示为
CMake Deprecation Warning at CMakeLists.txt:25 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument
to tell CMake that the project requires at least
to work with policies introduced by
The CXX compiler identification is unknown
CMake Warning (dev) at D:/Application/opencv/opencv/build/x64/MinGW/CMakeFiles/4.1.2/CMakeCXXCompiler.cmake:1:
Syntax Warning in cmake code at column 26
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
CMakeLists.txt:134 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
The C compiler identification is unknown
CMake Warning (dev) at D:/Application/opencv/opencv/build/x64/MinGW/CMakeFiles/4.1.2/CMakeCCompiler.cmake:1:
Syntax Warning in cmake code at column 24
Argument not separated from preceding token by whitespace.
Call Stack (most recent call first):
CMakeLists.txt:134 (project)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Error at CMakeLists.txt:134 (project):
The CMAKE_CXX_COMPILER:
;D:/Application/MinGW/x86_64-15.2.0-release-win32-seh-msvcrt-rt_v13-rev0/mingw64/bin/g++.exe""
is not a full path and was not found in the PATH. Perhaps the extension is
missing?
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
CMake Error at CMakeLists.txt:134 (project):
The CMAKE_C_COMPILER:
;D:/Application/MinGW/x86_64-15.2.0-release-win32-seh-msvcrt-rt_v13-rev0/mingw64/bin/gcc.exe""
is not a full path and was not found in the PATH. Perhaps the extension is
missing?
Tell CMake where to find the compiler by setting either the environment
variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Configuring incomplete, errors occurred!
怎么解决,谢谢