代码::块编译器不起作用 [英] Code::Blocks compiler not working
问题描述
当我尝试打开Code :: Blocks时,此消息出现在GNU GCC编译器的配置搜索路径中找不到编译器可执行文件".而且我无法运行任何项目.
When I try to open Code::Blocks this message appears "Can't find compiler executable in your configuration search path's for GNU GCC compiler". and I can't run any projects.
推荐答案
如果尚未安装MinGW(应随Code :: Blocks一起安装).然后运行Code :: Blocks进入 Settings-> Compiler Setting-> Toolchain可执行文件
,然后按 Auto-Detect
.如果自动检测不起作用,请自行添加路径(找到MinGW的安装位置).还要确保在 Project->您选择了
GNU GCC
编译器
Install MinGW if you haven't(it should come installed with Code::Blocks). Then run Code::Blocks go to Settings->Compiler Setting->Toolchain executables
and press Auto-Detect
.If auto detect doesn't work include the path yourself(find where you installed MinGW).Also make sure that in Project-> Build options
you have selected the GNU GCC
Compiler
这篇关于代码::块编译器不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!