mkdir out
export SFML_DIR=path/to/SFML/SFML
make
Before running an executable, prepend to LD_LIBRARY_PATH
the path to the shared
libraries of SFML, like so:
export LD_LIBRARY_PATH=${SFML_DIR}/lib:$LD_LIBRARY_PATH
Then, cd out/
.
Then, run any example: ./t1.out
, or ./t2.out
, etc.