Hey, you all ignored me last time maybe you just didn’t know. I have a
problem compiling SDL applications with g++ (their written in c++). I
include SDL.h and I compile with
g++ -o Test SdlTest.cpp sdl-config --libs --cflags
and it comes up with
WAY too many errors, they all are found in SDL.a library and all have
something to do with an X86. Any clues?
///////////
// Leo //
///////////_________________________________________________________________
Wonder if the latest virus has gotten to your computer? Find out. Run the
FREE McAfee online computer scan!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
Try sending in the actual errors - nobody’s likely to be able to help you if you don’t do that.
-brad> ----- Original Message -----
From: "Leo ."<leom0n at hotmail.com>
Sent: 12/5/03 1:21:33 PM
To: "sdl at libsdl.org"<sdl at libsdl.org>
Subject: [SDL] RE: SDL digest, Vol 1 #987 - 10 msgs
Hey, you all ignored me last time :( maybe you just didn't know. I have a
problem compiling SDL applications with g++ (their written in c++). I
include SDL.h and I compile with
g++ -o Test SdlTest.cpp `sdl-config --libs --cflags` and it comes up with
WAY too many errors, they all are found in SDL.a library and all have
something to do with an X86. Any clues?
///////////
// Leo //
///////////
_________________________________________________________________
Wonder if the latest virus has gotten to your computer? Find out. Run the
FREE McAfee online computer scan!
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
_______________________________________________
SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl
Which version of SDL do you use? Precompiled binaries? Which OS?
Linking errors? What is the output of sdl-config --libs
?
Please copy and paste some of the errors.
SDL.a is a static archive. g++/ld usually choses the dynamic .so file.
Perhaps try linking additionally to -lX11 etc.
Regards,
JohannesAm Freitag 05 Dezember 2003 22:21 schrieb Leo .:
Hey, you all ignored me last time maybe you just didn’t know. I have a
problem compiling SDL applications with g++ (their written in c++). I
include SDL.h and I compile with
g++ -o Test SdlTest.cpp sdl-config --libs --cflags
and it comes up with
WAY too many errors, they all are found in SDL.a library and all have
something to do with an X86. Any clues?