提问:codeblocks提示找不到编译器可执行文件
补充 : 不理解
补充 : Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Skipping...Nothing to be done (all items are up-to-date).Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...Project/Target: "tast - Debug": The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler. Probably the toolchain path within the compiler options is not setup correctly?! Do you have a compiler installed?Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.Tried to run compiler executable 'C:\MinGW/bin/codeblocks-20.03-setup.exe', but failed!Run aborted...
补充 : 哪位大神帮我一下
网友回答:
你安装的code::block估计是没有编译器的版本
最简单的方法,重新下载安装带编译器版本(到它官网)
另外,CB配置复杂不适合新手的(特别要求有相当的英文基础,它没有中文版本的)
你可以用dev-cpp(用Embarcadero的最新版本)或code-lite(这个没有自带的编译器)代替它
CB唯一的优势是多编译器及跨平台的支持(一般用不到)