Hey folks!
I've just stumbled upon a problem using SFML under Linux (as Cross Compiling binaries for Linux is quite non-trivial under WinXP ^^ ).
Problem is: I can't figure out a way of statically linking the libraries.
g++ -c main.cpp
g++ -o main main.o -static lsfml-system
will give me an error saying
/usr/bin/ld: cannot find lsfml-system
When I try compiling without the -static option, everything works fine, however I'd have a dynamic link
I have as well tried -Wl,-static and -Wl,-Bstatic, all's the same result...
System is Ubuntu 8.04
SFML is 1.3
Is there a way to solve this problem?