SFML community forums
Help => General => Topic started by: klepz on February 19, 2018, 11:31:27 pm
-
Hi, I need to compile my project on Windows, I followed all the instructions on the SFML learn page and everything went well, but when I try to run my program, I get an error that say "sfml-system-2.dll,sfml-window.dll ...is missing". Where am I going wrong?
-
Copy those near the exe. Also be careful between mixing the debug and release dlls (the ones without -d are release) and your own exe (usually people write and compile code in debug mode to make it faster and allow for proper debugging) because it won't work and will cause really weird errors.
-
But where I can find the dlls? the errors ask for ".dll" and all the files in SFML-2.4.2 / lib / is .lib ...
-
In bin directory. You can also link statically but if you use audio you'd still need OpenAL dll.
-
;D Thanks !!!