结果为什么是这样:
S C:\Users\lenovouser\Desktop\cpp\Lesson17\fraction> cmake . -G "MinGW Makefiles"
-- The C compiler identification is GNU 8.1.0
-- The CXX compiler identification is GNU 8.1.0
-- Check for working C compiler: D:/MinGW/mingw64/bin/gcc.exe
CMake Error: Generator: execution of make failed. Make command was: "" "cmTC_f2b2f/fast"
-- Check for working C compiler: D:/MinGW/mingw64/bin/gcc.exe -- broken
CMake Error at D:/cmake/share/cmake-3.8/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "D:/MinGW/mingw64/bin/gcc.exe" is not able to compile a
simple test program.
Generator: execution of make failed. Make command was: ""
"cmTC_f2b2f/fast"
CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:5 (project)
-- Configuring incomplete, errors occurred!
See also "C:/Users/lenovouser/Desktop/cpp/Lesson17/fraction/CMakeFiles/CMakeOutput.log".
See also "C:/Users/lenovouser/Desktop/cpp/Lesson17/fraction/CMakeFiles/CMakeError.log".
PS C:\Users\lenovouser\Desktop\cpp\Lesson17\fraction>