Code::Blocks

User forums => Help => Topic started by: akinwale on February 03, 2005, 07:07:30 am

Title: Problem with compiling - MingW switches
Post by: akinwale on February 03, 2005, 07:07:30 am
Hello,
I'm new to Code Blocks (just downloaded it yesterday), and I must say, it's very nice!

Anyway, I attempted compiling SDL. I imported the VisualC project file (btw, importing projects = brilliant idea) in the SDL folder, but when I try to compile, I get an error which reads:

mingw32-gcc.exe: cannot specify -o with -c or -S and multiple compilations

How do I go about this? Thanks.
Title: Problem with compiling - MingW switches
Post by: mandrav on February 03, 2005, 09:32:05 am
Hi,

try compiling using GNU "make". The new direct-mode is, err, new and might have problems...
To do this, go to "Settings/Configure plugins/Compiler", switch to the "Other" tab and select the "GNU make" build method.

HTH,
Yiannis.