News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Cant find compiler executable in the search path

Started by nictay21, December 07, 2016, 03:52:00 AM

Previous topic - Next topic

nictay21

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.
Skipping...

Jenna

And what's your question ?

Did you do what the message-box suggests ?

j_jobs

Actually i have the same problem ( and, after programming for more than 10 years with different C++ compilers, i am anything but a noob ).

I have installed code::blocks as administrator on my computer running windows 7.0 pro.
i have installed TWO of the supposedly supported compilers ( tiny C and miniGW as gnu-gcc for windows ).
I have changed the compiler in the settings/compiler global settings and made sure that the paths in the "toolchain executables" point to correct files.

No matter what i do, the error message pops up in the lower right corner and says "cant find compiler executable in the configured search path for GNU GCC compiler".

The exe files are there and can be run in command line. And, more importantly, that message looks like it is searching for GNU GCC even if i have configured to use Tiny C.



oBFusCATed

Which compilers have you set up?
What you set up the GNU GCC Compiler?
Do you have a project? Which compiler is set to be used by this project?
The build log is telling you which compiler is used for the current compilation.
You have to either switch it or set it up.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]