本帖最后由 Scan 于 2024-5-15 15:07 编辑
遇到了这个错误,该如何? 我已经按照网上的方法做过了
输出的信息:
[Asm] 纯文本查看 复制代码 [main] 正在生成文件夹: pycdc-master
[main] 正在配置项目: pycdc-master
[proc] 执行命令: "D:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SF:/pycdc-master/pycdc-master -Bf:/pycdc-master/build -G "MinGW Makefiles"
[cmake] Not searching for unused variables given on the command line.
[cmake] CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
[cmake] CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
[cmake] CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
[cmake] -- Configuring incomplete, errors occurred!
[proc] 命令“"D:\Program Files\CMake\bin\cmake.EXE" --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE -SF:/pycdc-master/pycdc-master -Bf:/pycdc-master/build -G "MinGW Makefiles"”已退出,代码为 1 |