We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Build SFML and CSFML on Linux
If you don't want to install the libraries globally, you will need the following script run.sh to run your project.
run.sh
#!/bin/bash SFML_LIB=$(realpath "path/to/SFML/lib") CSFML_LIB=$(realpath "path/to/CSFML/lib") F=${1%.*} LD_LIBRARY_PATH="$SFML_LIB:$CSFML_LIB" nim c --verbosity:0 $F.nim && LD_LIBRARY_PATH="$SFML_LIB:$CSFML_LIB" ./$F
Use it like: ./run.sh program.nim
./run.sh program.nim
Download CSFML and put the DLLs in the folder with the executable.