1
General / setting up SFML with Linux doesn't work
« on: May 29, 2013, 05:16:06 pm »
hi
I have Kubuntu 12.10 64bit
I tried this:
http://www.sfml-dev.org/tutorials/2.0/start-linux.php
I downloaded the 32bit version, and unpacked it to /usr/local/
if I try to compile it, I get this:
why are the files incompatible?
aligator
I have Kubuntu 12.10 64bit
I tried this:
http://www.sfml-dev.org/tutorials/2.0/start-linux.php
I downloaded the 32bit version, and unpacked it to /usr/local/
if I try to compile it, I get this:
johannes@johannes-Kubuntu:~/Downloads/SFML$ g++ -c main.cpp
johannes@johannes-Kubuntu:~/Downloads/SFML$ g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-graphics.so wird übersprungen bei der Suche nach -lsfml-graphics
/usr/bin/ld: cannot find -lsfml-graphics
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-window.so wird übersprungen bei der Suche nach -lsfml-window
/usr/bin/ld: cannot find -lsfml-window
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-system.so wird übersprungen bei der Suche nach -lsfml-system
/usr/bin/ld: cannot find -lsfml-system
collect2: Fehler: ld gab 1 als Ende-Status zurück
johannes@johannes-Kubuntu:~/Downloads/SFML$
johannes@johannes-Kubuntu:~/Downloads/SFML$ g++ main.o -o sfml-app -lsfml-graphics -lsfml-window -lsfml-system
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-graphics.so wird übersprungen bei der Suche nach -lsfml-graphics
/usr/bin/ld: cannot find -lsfml-graphics
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-window.so wird übersprungen bei der Suche nach -lsfml-window
/usr/bin/ld: cannot find -lsfml-window
/usr/bin/ld: Inkompatible /usr/local/lib/libsfml-system.so wird übersprungen bei der Suche nach -lsfml-system
/usr/bin/ld: cannot find -lsfml-system
collect2: Fehler: ld gab 1 als Ende-Status zurück
johannes@johannes-Kubuntu:~/Downloads/SFML$
why are the files incompatible?
aligator