Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Digmaster

Pages: [1]
1
General discussions / Using SFML on a Linux system with no root access
« on: February 09, 2014, 09:51:59 pm »
Hello,

I'm trying to use SFML on my school's linux system, which I have no root access (I believe that we use red hat with the AFS file system, if it's of any help). Presently I have all my added libraries files in ~/libs, and I use the command

g++ main.o -o sfml-app -L$HOME/libs/lib -lsfml-graphics -lsfml-window -lsfml-system -W1,-rpath=$HOME/libs/lib (I also use -rpath-rink to no avail)

in an attempt to compile my program. However, my system doesn't even have libGLEW installed, so I popped that into my ~/libs folder aswell. Reguardless I get the error

warning: libGLEW.so.1.5, needed by /afs/<Home dir>/libs/lib/libsfml-graphics.so, not found (try using -rpath or -rpath-link)
(Note that I added the <Home Dir>, it used to say the correct directory.)

I have libGLEW.so.1.5 is the same directory as libsfml; however it's not finding it (A simple ls command confirms that it's there.

Does anyone have any suggestions to fix this problem?

Pages: [1]