Code::Blocks Forums

User forums => Help => Topic started by: eb on April 23, 2015, 09:56:26 pm

Title: The compiler's setup is invalid - and I am NOT a noob...
Post by: eb on April 23, 2015, 09:56:26 pm
Just went into C::B to rebuild a months old project when I get the build log message: 
"rap-rcvr01 - Release": The compiler's setup 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->unknown->Toolchain executables" and fix the compiler's setup.
Skipping...
"rap-rcvr01 - Release": The compiler's setup 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->unknown->Toolchain executables" and fix the compiler's setup.
Skipping...
Nothing to be done (all items are up-to-date).

rap-rcvr01 = project name
I'm using C::B 13.12 on windows 7
I Goto "Settings->Compiler and debugger...->Global compiler settings and I selected Cygwin GCC as my compiler.
I 'Set as default' AND I Reset defaults.
I goto 'Toolchain executables' where I hit 'Auto-detect' which responds 'Autodetected installation path of "Cygwin GCC" in C:\cygwin'
I confirm the entry beneath Compiler's installation directory does say C:\cygwin.
I clicked on all the Select file buttons under the Program files tab and confirmed that gcc.exe, g++.exe, gcc-3.exe, g++-3.exe, ar.exe, windres.exe and make all reside in C:\cygwin\bin.
Hit OK, saved all files, rebooted my computer.
Cleaned the project.
Tried the MingW compiler.

Nothing works.  I'm pretty sure I've read every relevent topic (about 15) about it on this forum...
What have I missed?
Title: Re: The compiler's setup is invalid - and I am NOT a noob...
Post by: MortenMacFly on April 23, 2015, 10:01:57 pm
Make sure the executables are proper applications and not symlinks. Otherwise enter the name of the proper executable the symlink points to.
Title: Re: The compiler's setup is invalid - and I am NOT a noob...
Post by: eb on April 23, 2015, 11:03:41 pm
Nope, they're not symlinks.  They are the *.exe files they purport to be.
Title: Re: The compiler's setup is invalid - and I am NOT a noob...
Post by: BlueHazzard on April 23, 2015, 11:31:13 pm
is the proper compiler set in Project->Build Options? (drop down menu on the top)

Goto "Settings->Compiler...->Global compiler settings->unknown->Toolchain executables" and fix the compiler's setup.

greetings
Title: Re: The compiler's setup is invalid - and I am NOT a noob...
Post by: eb on April 24, 2015, 07:14:48 pm
Project->Build Options is set to Cygwin GCC HOWEVER I double clicked on Cygwin GCC to open the Project build options, flipped through the various tabs looking for anything suspicious and hit Ok.  When I hit Ok it said I made changes so just for grins I said save and VOILA I'm compiling again.

edit:  I made no changes that I'm aware of.  Any ideas what happened?
Title: Re: The compiler's setup is invalid - and I am NOT a noob...
Post by: MortenMacFly on April 25, 2015, 06:16:50 am
Nope, if you didn't save your config I don't know why it failed. If you have a backup of your config please attach this and the new one (zipped) here so we can analyse.