有关于codeblock的运行错误

img


在运行了初始创建的文件之后,他出来的是运行错误的字样,
Project/Target: "demo - Debug":
The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.
Probably the toolchain path within the compiler options is not setup correctly?!
Do you have a compiler installed?
Goto "Settings->Compiler...->Global compiler settings->GNU GCC Compiler->Toolchain executables" and fix the compiler's setup.

Tried to run compiler executable 'F:\mingw64\x86_64-w64-mingw32\bin/bin/gcc.exe', but failed!

Run aborted
就是这样子的,怎么办?

网上都有解决方案,直接参考解决:

确认一下你的C编译器对应的环境变量有没有正确配置

编译器配置文件出错了,可以参考这个文章
https://blog.csdn.net/changjiale110/article/details/78044813