SFML community forums

Help => General => Topic started by: jerryd on July 03, 2017, 04:51:37 am

Title: [SOLVED]can't open sfml-window-d-2.dll
Post by: jerryd on July 03, 2017, 04:51:37 am
SFML forum,

 SFML 2.4.2   Visual Studio 2017

 I have one project working and have started new one.

 I can build the new project with no errors but when I try to
 run it I get the error message: "The program can't start because
 sfml-window-d-2-dll is missing".

 This dll exists in C:\SFML-2.4.0\bin and I have checked the
 properties and they are all identical to my working project.

 What am I missing?

jerryd
Title: Re: can't open sfml-window-d-2.dll
Post by: Gleade on July 03, 2017, 05:04:10 am
Try adding the .dll to the executables directory.
Title: Re: can't open sfml-window-d-2.dll
Post by: jerryd on July 03, 2017, 05:38:54 am
Gleade,
 Thanks for the reply but it didn't work.

jerryd
Title: Re: [SOLVED]can't open sfml-window-d-2.dll
Post by: jerryd on July 04, 2017, 03:17:08 am

 I finally got this to work.

 I did add sfml-window-d-2.dll to the project folder but I had to
 add all the dlls from SFML\bin.

jerryd