问题描述
我试图使用 code::blocks 进行一些编程,但似乎没有一个 C 编译器可以工作,所以你能推荐我一个编译器吗?
我得到的错误是:
Project/Target: "Email Sender V4 - Debug":
The compiler's setup (Intel C/C++ 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->Intel C/C++ Compiler->Toolchain executables" and fix the compiler's setup.
Tried to run compiler executable 'C:\Program Files (x86)\Intel\Compiler\C++\9.0/bin/icl.exe',but Failed!
Run aborted...
解决方法
如输出所示:
你安装了编译器吗?
您可能下载了没有编译器的 Code::Blocks。
所以你可以例如重新安装 Code::Blocks bundled with MinGW(可能最简单)。另请参阅 docs。
或者,安装一个单独的编译器。英特尔编译器可以例如从 there 下载。