SFML community forums

Help => General => Topic started by: Stolle on January 08, 2015, 08:58:45 pm

Title: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Stolle on January 08, 2015, 08:58:45 pm
Hello!

I'm having some issues with my SFML, I'm getting a error message that the sfml-graphics-d-2.dll is missing but I can run the program perfect with not debugging.

I have copyed the graphics,system,window -d-2.dll files to the folder where all my .cpp and .h files exists, in my case C:\temp\projekt\projekt.

Because it's asking for -d-2.dll and if you check the image on the linker/input I haven written -2.dll

image:

http://i.imgur.com/uzycEoP.png

running
win 7
vs 2013 ultimate 2013


Regards Stolle!
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Laurent on January 08, 2015, 09:56:05 pm
Quote
I have copyed the graphics,system,window -d-2.dll files to the folder where all my .cpp and .h files exists, in my case C:\temp\projekt\projekt.
Copy them where your executable is.
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Stolle on January 08, 2015, 11:59:03 pm
Quote
I have copyed the graphics,system,window -d-2.dll files to the folder where all my .cpp and .h files exists, in my case C:\temp\projekt\projekt.
Copy them where your executable is.

Well ain't that where the executable are? :O

(http://i.imgur.com/L5IoTwg.png)
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Ixrec on January 09, 2015, 12:19:41 am
I don't see any executables in that folder.  Do you?

Visual Studio normally puts the executables in Debug/Release subfolders.  Try there.
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: StormWingDelta on January 09, 2015, 12:35:55 am
Nope put it in the debug/release folder where the exe files are. :)
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Stolle on January 09, 2015, 12:51:31 am
Can anyone tell me what a executable is, do you mean the .exe from the debug?  :o

Because this is my debug folder
(http://i.imgur.com/JzIoixA.png)
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: StormWingDelta on January 09, 2015, 03:45:18 pm
First off Turn off, Hide Known File Extensions, so you can see what file is what.  Normally your IDE should drop the EXE in the working directory somewhere.  In the case of Visual Studio and Code::Blocks by default it should be in the Debug/Release Folders.  As for what you;re using I got no idea.  So turn off the Hide Known File Extensions option for your computer and you should find the project's exe file.
Title: Re: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning
Post by: Hapax on January 11, 2015, 02:19:23 am
this is my debug folder
Try the parent folder of the project (the solution folder). By default, the debug and release folders are there.
In your case, I would expect to find them at:
c:/temp/projekt/Debug