问题:

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU GCC Compiler

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

 

解决方法: 

1.选择Setting->Compiler

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

 

2.然后如下图所示选择自己安装CodeBlocks的位置并找到它里面的MinGW文件夹,最后点击OK。

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

 

如果目录下找不到MinGW文件夹,可能是安装的版本是不带编译器的,重新去官网下载安装带编译器的就可以了,步骤如下:

1.去官网:http://www.codeblocks.org/

2.按下图所示进入下载页面

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

 

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

 

3.选择红框中的版本codeblocks-20.03mingw-setup.exe(类型中包含mingw是带编译器的),然后点击Sourceforge.net进行下载然后安装即可。

CodeBlocks打开时提示:Can’t find compiler executable in your configured search path’s for GNU...问题的解决方法

相关文章: