Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.

Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!

Skipping...
Nothing to be done (all items are up-to-date).

 

第一次接触C,安装后运行代码就报上面的错了,报错意思是:

试图运行编译器可执行文件'C:\MinGW/bin/mingw32-gcc.exe',但失败!

原因是找不到编译器的位置,解决如下:

安装CodeBlocks后运行提示:Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!

安装CodeBlocks后运行提示:Tried to run compiler executable 'C:\MinGW/bin/mingw32-gcc.exe', but failed!

 

Auto-detect:自动检测

然后再运行就可以了

相关文章:

  • 2021-10-24
  • 2021-09-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-05
  • 2021-07-03
  • 2022-01-13
  • 2022-12-23
猜你喜欢
  • 2021-09-29
  • 2021-12-14
  • 2021-08-31
  • 2021-04-25
  • 2021-10-03
  • 2022-12-23
相关资源
相似解决方案