-3
\$\begingroup\$

I am having an error when I try to create the first window in SFML.

the error says: The code execution cannot proceed because sfml-system-d-2.dll was not found. Reinstalling the program may fix the problem.

All my includes work and i have no syntax error

\$\endgroup\$
0
\$\begingroup\$

In your project folder, the same one with your stdafx.h file, you need to place the sfml .dll files. When you are setting up your sfml project under project properties -> Debug -> Linker -> Input (Additional Dependencies) you should have sfml-graphics-d.lib...etc. Then you have to make sure that you copy these .dll files into your main project folder.enter image description here

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.