CodeBlocks 20.03 在Windows下无法自动检测编译,需要修改设置 options_gcc.xml

解决方案来自:http://forums.codeblocks.org/index.php/topic,23738.msg161976.html

[CodeBlocks_20.03_Installation_Folder] share CodeBlocks compilers options_gcc.xml]

在上部的“ <if platform =“ windows”> “部分中,删除前缀” mingw32- “( C,CPP和LD条目(包括减号)。

然后,自动检测应该可以正常工作。如果您是在安装后和首次启动C :: B之前直接执行此操作,则它应立即检测到正确的编译器。

 

原文地址:https://www.cnblogs.com/personnel/p/14408789.html