codeblocks:

can't find compiler executable in your configured search path's for GUN GCC Complier

can't find compiler executable in your configured search path's for GDC D Complier

解决方法:

1.

在官网第一次下载的时候,下载了没有自带mingw的那个。

一般是从官网下绿色框的那个。

codeblocks安装之后打 can't find compiler GUN GCC Complier或 GDC D Complier 解决方法

如果下的不带mingw的那个,简单方法是卸载,再重新安装。

若选择下载了带有mingw,且仍出现了上述问题:

1.

点击setting,再点compiler setting,如下图:

codeblocks安装之后打 can't find compiler GUN GCC Complier或 GDC D Complier 解决方法

codeblocks安装之后打 can't find compiler GUN GCC Complier或 GDC D Complier 解决方法

第二个框中选择路径为安装codeblocks的位置,点开该文件夹,选中MinGW文件夹,然后点右面的Auto-detect即可。

关闭codeblocks,重启之后问题解决。

2.特别注意,如果出现can't find compiler executable in your configured search path's for GDC D Complier

解决方法:

在下图标记位置选择 GNU GCC Compiler,再点击 Set as dafault。

关闭codeblocks,重启之后问题解决。

codeblocks安装之后打 can't find compiler GUN GCC Complier或 GDC D Complier 解决方法

 

 

相关文章: