I ran:
sudo make install
And did not get any errors. I compiled this tutorial:
http://www.sfml-dev.org/tutorials/1.6/window-events.phpI tried running it and I get " error while loading shared libraries: libsfml-window.so.1.6: cannot open shared object file: No such file or directory"
What should I do? I see the library files in the SFML-1.6 unzipped lib folder but I'm assuming those files aren't compiled for my system (Fedora 13 x64).
EDIT:
Nevermind, I found where they were installed with:
sudo find -mount -iname *sfml*
Which spits out:
./usr/local/include/SFML
./usr/local/lib/libsfml-audio.so.1.6
./usr/local/lib/libsfml-network.so
./usr/local/lib/libsfml-network.so.1.6
./usr/local/lib/libsfml-system.so
./usr/local/lib/libsfml-graphics.so
./usr/local/lib/libsfml-graphics.so.1.6
./usr/local/lib/libsfml-window.so.1.6
./usr/local/lib/libsfml-system.so.1.6
./usr/local/lib/libsfml-audio.so
./usr/local/lib/libsfml-window.so
I don't understand why they installed there. How should I proceed? It seems the make install command did not work correctly, it is supposed to install them into /user/lib/ as stated here:
http://www.sfml-dev.org/tutorials/1.6/start-linux.phpAt the moment I'm going to set DESTDIR=/usr/lib (which is supposed to be the default) after I uninstall the current "installation".
EDIT2:
After some more searching apparently I need to edit system settings to search in /usr/local when loading libraries. Why wasn't it installed into the default DESTDIR?