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

    xiaoxiao2022-07-14  175

    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的那个。

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

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

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

    1.

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

    第二个框中选择路径为安装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,重启之后问题解决。

     

     

    最新回复(0)