XSoloDolo
XSoloDolo

Reputation: 99

Trying to run SFML HelloWorld code and i'm getting and error

When I run this code I get the error "The program can't start because sfml-window-2.dll is missing from your computer." I linked all the libraries and header files like the tutorial showed me but i'm still getting this error

Upvotes: 0

Views: 876

Answers (1)

poxip
poxip

Reputation: 907

Link SFML staticaly. Use libraries with -s postfix and add SFML_STATIC to defines. I think it's the best way to link SFML on Windows (dll hell!).

Upvotes: 3

Related Questions