Author Topic: Project from Template - Not Compile  (Read 4080 times)

mr_tawan

  • Guest
Project from Template - Not Compile
« on: November 25, 2005, 12:47:03 pm »
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

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.

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4315
    • Code::Blocks IDE
Re: Project from Template - Not Compile
« Reply #1 on: November 25, 2005, 02:02:59 pm »
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.
Be patient!
This bug will be fixed soon...

mr_tawan

  • Guest
Re: Project from Template - Not Compile
« Reply #2 on: November 25, 2005, 07:25:19 pm »
Ok, got it work right now.
Thank you very much.

I'll try to get cvs version soon.