1

When I try to open Code::Blocks this message appears "Can't find compiler executable in your configuration search path's for GNU GCC compiler". and I can't run any projects.

2
  • What's your question? Commented Aug 4, 2017 at 18:10
  • Either download codeblocks with compiler included (it exists a combo), or install a compiler separately, and/or configure codeblocks to point to your installed compiler. But first read installation procedure... Commented Aug 4, 2017 at 18:41

1 Answer 1

4

Install MinGW if you haven't(it should come installed with Code::Blocks). Then run Code::Blocks go to Settings->Compiler Setting->Toolchain executables and press Auto-Detect .If auto detect doesn't work include the path yourself(find where you installed MinGW).Also make sure that in Project-> Build options you have selected the GNU GCC Compiler

Sign up to request clarification or add additional context in comments.

3 Comments

Did you restart the Code::Blocks after detecting?
when i try to run any project this message appear "Target uses an invalid compiler; run aborted"
Are you sure you have MinGW installed since i think thats the only thing that can cause it. Also check if you have gcc.exe in MinGW folder

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.