1
General / Using SFML on linux without full privileges
« on: October 20, 2009, 06:52:19 pm »
Okay, that was just me being stupid. Unfortunately, now that the bit linking to sfml-system is there, I can confirm that I am hopelessly stumped again:
As far as I can tell, the files are exactly where it is looking for them. Also, it might be worth noting that the extent of my "installation" was to simply unzip the whole folder. I don't know if the actual install command in the makefile does something smarter than that, and my attempt to change the path it was pointing to just resulted in it telling me that a rule did not exist.
Sorry for wasting so much of your time, I'm just not used to doing things like this in linux, and I am finding it very difficult to find general information to help me using google.
Code: [Select]
vector38% g++ main.cpp -L"../SFML-1.5/lib" -I"../SFML-1.5/include" -lsfml-system
/usr/bin/ld: cannot find -lsfml-system
collect2: ld returned 1 exit status
vector38% ls ../SFML-1.5/lib
libsfml-audio.so.1.5 libsfml-network.so.1.5 libsfml-window.so.1.5
libsfml-graphics.so.1.5 libsfml-system.so.1.5
As far as I can tell, the files are exactly where it is looking for them. Also, it might be worth noting that the extent of my "installation" was to simply unzip the whole folder. I don't know if the actual install command in the makefile does something smarter than that, and my attempt to change the path it was pointing to just resulted in it telling me that a rule did not exist.
Sorry for wasting so much of your time, I'm just not used to doing things like this in linux, and I am finding it very difficult to find general information to help me using google.