If so, you don't the "-lsfml-xyz" options, it's only for Windows
Nope, you're wrong. :wink: g++crash course
Ok, thanks for the clarification.
What I meant is, the "-lsfml-xyz" directives are just ingored here. They just don't work for me, I had to set the libraries as I've listed them above.
So,
Kreshdev, what I suggest is, if you're on Code::Blocks, delete the "-lsfml-*" stuff and set Project/ Build options/ Linker settings/ Link libraries to:
/usr/local/lib/libsfml-network.so
/usr/local/lib/libsfml-audio.so
/usr/local/lib/libsfml-graphics.so
/usr/local/lib/libsfml-window.so
/usr/local/lib/libsfml-system.so
These files are at "/usr/local/lib", at least, for me. You should check where these files are on your computer. They also might be at "/usr/lib", for example.