User forums > Using Code::Blocks

Project from Template - Not Compile

(1/1)

mr_tawan:
I'm using C::B 1.0rc2 with Gentoo 2005.1 and GCC 3.3.6 ...

My Problem is , when I create new Project (I select 'SDL Application') and compile it, CB return error as below

--- Code: ---g++: cannot specify -o with -c or -S and multiple compilations
--- End code ---

As I tried, the wxWindows Application is also not compile , but Console Application works fine. I suspect the script that used to generated the parameter (wx-config and sdl-config) generate some flag that is conflict to CB generated makefile.

But I'm just Linux newbie, I don't know how to solve this problem  :( .
Anyway, I think this problem is not found on Windows.

mandrav:
For 1.0rc2 and earlier releases, you must use the "GNU make" build method for this to work (Settings->Compiler->Other).
In CVS it works as it should, either way.

mr_tawan:
Ok, got it work right now.
Thank you very much.

I'll try to get cvs version soon.

Navigation

[0] Message Index

Go to full version