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.
-
What's your question?Adrian Bobrowski– Adrian Bobrowski2017-08-04 18:10:29 +00:00Commented 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...Jean-Baptiste Yunès– Jean-Baptiste Yunès2017-08-04 18:41:27 +00:00Commented Aug 4, 2017 at 18:41
Add a comment
|
1 Answer
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
3 Comments
IP002
Did you restart the Code::Blocks after detecting?
Areej Mahmoud
when i try to run any project this message appear "Target uses an invalid compiler; run aborted"
IP002
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