4
« on: October 21, 2011, 02:16:57 pm »
Hey guys. I am trying to write some C++ using Eclipse CDT and SFML on Linux.
When pointing the project's GCC C++ Linker to sfml-system (named libsfml-system on the 1.6 release), I get the following output when I try to build a HelloWorld project:
**** Build of configuration Debug for project SFMLHelloWorld ****
make all
Building target: SFMLHelloWorld
Invoking: GCC C++ Linker
g++ -L"/home/u09/<omit>/Stage 3/SFML-1.6/lib" -o"SFMLHelloWorld" ./src/SFMLHelloWorld.o -llibsfml-system.d
/usr/bin/ld: cannot find -llibsfml-system.d
collect2: ld returned 1 exit status
make: *** [SFMLHelloWorld] Error 1
It seems that the linker is looking in /usr/bin/ for the library even though I have specified another library search path to be checked. I'm on university computers and don't have permission to place files in /usr/ which is why I chose a non-standard directory for SFML.
Is there any way to remedy this?