Morning,
First thing, I am new to SFML
Second, after running a basic example from the tutorial I got this linker error:
ld: library not found for -l/usr/local/lib/libsfml-graphics.2.4.1.dylib
clang: error: linker command failed with exit code 1 (use -v to see invocation)
invoking the compiler here:
g++ -L/usr/local/lib/ -o "graphSFMLInit" ./src/graphSFMLInit.o -l/usr/local/lib/libsfml-graphics.2.4.1.dylib -l/usr/local/lib/libsfml-window.2.4.1.dylib -l/usr/local/lib/libsfml-audio.2.4.1.dylib -l/usr/local/lib/libsfml-network.2.4.1.dylib -l/usr/local/lib/libsfml-system.2.4.1.dylib
I told the linker where to find those libs by settings :
Project Properties->C/C++ Build->Settings->Tool Settings->MacOS X C++ Linker->Libraries :
/usr/local/lib/libsfml-graphics.2.4.1.dylib
/usr/local/lib/libsfml-window.2.4.1.dylib
/usr/local/lib/libsfml-audio.2.4.1.dylib
/usr/local/lib/libsfml-network.2.4.1.dylib
/usr/local/lib/libsfml-system.2.4.1.dylib
Image attached