Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
748 views
in Technique[技术] by (71.8m points)

codeblocks - None of the C compilers are Working In code :: blocks

I was trying to use code::blocks to do some programming and none of the C compilers seem to work so can you recommend me a compiler?

The error I get is:

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)IntelCompilerC++9.0/bin/icl.exe', but failed!

Run aborted...
question from:https://stackoverflow.com/questions/66062256/none-of-the-c-compilers-are-working-in-code-blocks

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

As the output suggests:

Do you have a compiler installed?

You may have downloaded Code::Blocks without a compiler.

So you could e.g. reinstall Code::Blocks bundled with MinGW (probably easiest). See also the docs.

Alternatively, install a separate compiler. The Intel compiler can e.g. be downloaded from there.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...