This is starting to drive me nuts. I've linked to the .a's for allegro but I get this error:
Compiling: main.cpp
cc1plus.exe: error: unrecognized command line option "-lalleg"
mingw32-g++.exe: -lalleg: linker input file unused because linking not done
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings
Am I missing something, or do the computer gods just hate me? I'm sure it's probably an easy fix, but, I'm an idiot.
Quote from: twentytortures on March 31, 2007, 12:12:19 AM
Compiling: main.cpp
cc1plus.exe: error: unrecognized command line option "-lalleg"
mingw32-g++.exe: -lalleg: linker input file unused because linking not done
It appears as though -lalleg is being passed at compile time rather than link time. If you have "-lalleg" as an additional
compiler option, this is the problem; remove it, and add "alleg" to your link libraries (and make sure that the directory containing liballeg.a is in your linker directories).
I already had everything set up like you said. :-/
Quote from: twentytortures on March 31, 2007, 03:34:46 AM
I already had everything set up like you said. :-/
In that case, it would help if you enabled full command line logging. (Settings->Compiler and debugger->Global compiler settings->Other settings->Compiler logging)
Please post the entire output from the Build log tab.
search
http://ceniza.cenizasoft.cjb.net/mingw3.htm
http://forums.next.codeblocks.org/index.php/topic,2587.0.html
http://forums.next.codeblocks.org/index.php/topic,2558.0.html
http://forums.next.codeblocks.org/index.php/topic,2558.0.html
I think http://gda.utp.edu.co/~ceniza/?page=mingw3 is a better choice for the first link (the one bluekid posted has really bad uptime issues).
Bah, moved it here (http://ceniza666.googlepages.com/ceniza%27swebsite-mingw).