Code::Blocks Forums

User forums => Help => Topic started by: hongxing on October 22, 2005, 08:29:25 AM

Title: simplist wxWidgets app compile error
Post by: hongxing on October 22, 2005, 08:29:25 AM
I generate my wxWidgets using the C::B 's wizard in Linux, when compiling, it says:
g++: cannot specify -o with -C ro -S and multiple compilations
Title: Re: simplist wxWidgets app compile error
Post by: mandrav on October 22, 2005, 09:29:53 AM
Quote from: hongxing on October 22, 2005, 08:29:25 AM
I generate my wxWidgets using the C::B 's wizard in Linux, when compiling, it says:
g++: cannot specify -o with -C ro -S and multiple compilations

Go to "Settings->Compiler->Other" and use "GNU make" build method.
Title: Re: simplist wxWidgets app compile error
Post by: hongxing on October 22, 2005, 11:13:05 AM
thanks, it works!
Title: Re: simplist wxWidgets app compile error
Post by: sasq on November 24, 2005, 06:53:48 PM
Why that thins happens? [im just curious]
I have had the same error when compiling code using SDL.
This problem appears only in Linux.
Title: Re: simplist wxWidgets app compile error
Post by: mandrav on November 24, 2005, 07:50:06 PM
Quote from: sasq on November 24, 2005, 06:53:48 PM
Why that thins happens? [im just curious]
I have had the same error when compiling code using SDL.
This problem appears only in Linux.

...and is fixed in CVS to work with either build method.