News:

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

Main Menu

error : invalid compiler [YOUR ANSWER IS ALREADY THERE. SEARCH THE FORUMS!].

Started by jack.x.lee, March 13, 2008, 07:09:20 PM

Previous topic - Next topic

jack.x.lee

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?

:( :( :( :( :( :(

thomas

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.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

yi_jun_jun

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!

ppesci

Thanks, it worked fine :).

A very annoying thing. Maybe packager must check if the thing they are building works well.

SharkCZ

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.
Code::Blocks package maintainer for Fedora and EPEL