Code::Blocks Forums

User forums => Help => Topic started by: jack.x.lee on March 13, 2008, 07:09:20 pm

Title: error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
Post by: jack.x.lee on March 13, 2008, 07:09:20 pm
Hi All,

 I just had installed code blocks 8.02 on Fedora 7.  it can't work correctly, because when compile a file,
a error message (see following)  in the "build log" window. I had installed gcc 4.3.0 before code blocks.

"test - Release" uses an invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!]. Skipping...
Nothing to be done.

 on my  Windows XP OS, it works well, but while i install it on my Fedora7, it can not work.
 who can help me?

 :( :( :( :( :( :(
Title: Re: error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
Post by: thomas on March 13, 2008, 08:36:08 pm
You need to set up our compiler paths and/or executable names correctly (Compiler settings, toolchain executables). Apparently your gcc is either installed in a location where Code::Blocks doesn't find them, or it has a non-standard name.
Title: Re: error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
Post by: yi_jun_jun on March 31, 2008, 04:22:27 pm
Hi jack:

i am chinese. i also use codeblock on FC7. like you, i be troubled by this problem. but i make it right now.

follow me:

codeblock->setting->compiler and debugger setting->global compiler settings->toolchain executables->compiler's installation directory

fill "/usr" not "/usr/lib" .

notice describe letter!

i want to help you.just try!
Title: Re: error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
Post by: ppesci on July 05, 2008, 08:28:40 pm
Thanks, it worked fine :).

A very annoying thing. Maybe packager must check if the thing they are building works well.
Title: Re: error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].
Post by: SharkCZ on October 31, 2008, 10:05:48 am
It is not a bug in distro or packaging, but a bug in the compiler detection in C::B, it gets fooled when ccache package (compiler cache) is installed. It was fixed in SVN revision 5159.