EDIT3: Solved! I compiled SFML from source and everything is working now!
Hello! I have been trying to get the awesome SFML 2.1 framework to work on my Linux (CrunchBang, built on Debian stable) machine, but no luck. When compiling the following way:
g++ -std=c++11 -Wall -Wextra -L../libraries/SFML-2.1/lib -Wl,-rpath=../libraries/SFML-2.1/lib -lsfml-system -lsfml-window -lGLEW -lsfml-graphics -o LD29 LD29.o
I get:
/usr/bin/ld: warning: libGLEW.so.1.5, needed by ../libraries/SFML-2.1/lib/libsfml-graphics.so, not found (try using -rpath or -rpath-link)
../libraries/SFML-2.1/lib/libsfml-graphics.so: undefined reference to `memcpy@GLIBC_2.14'
I have attached the source code and makefile. I am running under Debian stable, G++ verison is 4.7.
Any help is welcome! Thanks a bunch
EDIT: Forgot to mention, I do have GLEW installed. When running "dpkg -l | grep glew" I get:
ii libglew-dev:amd64 1.7.0-3 amd64 OpenGL Extension Wrangler - development environment
ii libglew1.7:amd64 1.7.0-3 amd64 OpenGL Extension Wrangler - runtime environment
EDIT2: I am now trying to compile SFML from source. Wish me luck! (I'll post the results)