SFML community forums
Help => General => Topic started by: Brainfuck on August 12, 2012, 10:50:48 am
-
Hi there!
I have a little problem ;/
1.6 when I was using the 1.6 all was ok, yesterday I switched to 2.0 and I can not link anything under Linux (Debian 6 x32) ( VPS )
Logs :
root@94:/Game-Server# g++ Server.o -o Server -lsfml-system
/usr/bin/ld:/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libsfml-system.so: file format not recognized; treating as linker script
/usr/bin/ld:/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libsfml-system.so:1: syntax error
content of libsfml-system.so :
libsfml-system.so.2
content of libsml-system.so.2 :
libsfml-system.so.2.0
I've try to change libsfml-system.so.2.0 to libsfml-system.so but then ;/
LOG :
root@94:/Game-Server# g++ -c Server.cpp
root@94:/Game-Server# g++ -o Server Server.o -lsfml-system -lsfml-network
/usr/lib/gcc/i486-linux-gnu/4.4.5/../../../../lib/libsfml-system.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Idk what im doing wrong :p compiles ok just cant link :f in 1.6 all was ok :F ( i rewrite my code to 2.0 ;p ( its working on windows ) all should be ok ;/ )
-
Which archive did you download, and how did you install it?
-
i download this archive : http://www.sfml-dev.org/download/2.0-rc/SFML-2.0-rc-linux-32.tar.bz2 (http://www.sfml-dev.org/download/2.0-rc/SFML-2.0-rc-linux-32.tar.bz2)
I extracted it and put libraries and includes into usr/lib & usr/includes ( its working on 1.6 )
-
Try to download it again, your files seem to be corrupt.
If nothing works, you can still recompile it.
-
Its working now lol..
I change sfml-system.so.2.0 to sfml-system.so, copy it and set second file sfml-system.so.2 xD and now its working o.O Topic to close xd