meili 发表于 2022-10-27 15:33:40

我的codeblocks有时会写这样的话,quot;wly-2023-Debugquot;:Thecompiler#39;ssetup(GNUGCCCompiler)isinvalid,soCode::Blockscannotfind/runthecompiler.Probablythetoolchainpathwithinthecompileroptionsisnotsetupcorrectly

<p>问题:我的codeblocks有时会写这样的话,quot;wly-2023-Debugquot;:Thecompiler#39;ssetup(GNUGCCCompiler)isinvalid,soCode::Blockscannotfind/runthecompiler.Probablythetoolchainpathwithinthecompileroptionsisnotsetupcorrectly?Gotoquot;Settings-
<p>答案:↓↓↓<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">何家华的回答:<div class="content-b">网友采纳  你的codeblocks配置出错,主要原因可能是路径设置.原文的意思:wly-1020-Debug该编译器(即GNU的GCC编译器)设置无效,因此Code:Blocks无法找到或运行编译器.问题也许是编译器设置中的toolchain(工具链)路径设置不...<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">万荣林的回答:<div class="content-b">网友采纳  请问怎么处理<p class="nav-title mt10" style="border-top:1px solid #ccc;padding-top: 10px;">何家华的回答:<div class="content-b">网友采纳  你安装CodeBlocks的时候,是否选择安装了编译器?如果是,请确认安装包是从官方下载的;  如果之前,已安装过GCC编译器,那么在上面提到的路径里面,把编译器,头文件及库所对应的路径,逐一直向你自己硬盘中的路径即可。  如果还有问题,建议你从官方网站下载带编译器的安装程序,然后重新安装,配置是自动的。
页: [1]
查看完整版本: 我的codeblocks有时会写这样的话,quot;wly-2023-Debugquot;:Thecompiler#39;ssetup(GNUGCCCompiler)isinvalid,soCode::Blockscannotfind/runthecompiler.Probablythetoolchainpathwithinthecompileroptionsisnotsetupcorrectly