Dragonfly Q&A

Visual Studio 2015 linker asking for sfml-window-d-2.dll

0 like 0 dislike
So, I attempted to add SFML to my dependencies. Doing so solved code errors ( Like /SFML/Graphics.hpp being unrecognized ), but now when I try to build this error comes up.

Does anyone have a simpler method to link SFML into your Visual Studio project, or a solution to this error in particular?
asked Sep 16, 2016 by Thomas-Lourenco

1 Answer

1 like 0 dislike
<p>In Windows, usually, you need to have the DLLs in the directory the program (exe) executes in.  This could be in the project directory or, more likely for development, the Debug directory.   The other option is to set the path to find the DLLs.  Both options are in the guide:

<p><a href="http://dragonfly.wpi.edu/engine/setup-vs-2015.html">http://dragonfly.wpi.edu/engine/setup-vs-2015.html</a>

<p>Step #6.
answered Sep 16, 2016 by claypool
Ah, so I linked the files properly, but never copied over the .dll files. Thanks for the clarification!
More information about Dragonfly can be found on the Dragonfly Home Page.
...