Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: [img]sfml-graphics-d-2.dll missing BUT can run perfect without debuggning  (Read 4927 times)

0 Members and 1 Guest are viewing this topic.

Stolle

  • Newbie
  • *
  • Posts: 6
    • View Profile
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!
« Last Edit: January 08, 2015, 09:10:13 pm by Stolle »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
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.
Laurent Gomila - SFML developer

Stolle

  • Newbie
  • *
  • Posts: 6
    • View Profile
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


Ixrec

  • Hero Member
  • *****
  • Posts: 1241
    • View Profile
    • Email
I don't see any executables in that folder.  Do you?

Visual Studio normally puts the executables in Debug/Release subfolders.  Try there.

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
Nope put it in the debug/release folder where the exe files are. :)
I have many ideas but need the help of others to find way to make use of them.

Stolle

  • Newbie
  • *
  • Posts: 6
    • View Profile
Can anyone tell me what a executable is, do you mean the .exe from the debug?  :o

Because this is my debug folder
« Last Edit: January 09, 2015, 12:53:02 am by Stolle »

StormWingDelta

  • Sr. Member
  • ****
  • Posts: 365
    • View Profile
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.
I have many ideas but need the help of others to find way to make use of them.

Hapax

  • Hero Member
  • *****
  • Posts: 3379
  • My number of posts is shown in hexadecimal.
    • View Profile
    • Links
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
Selba Ward -SFML drawables
Cheese Map -Drawable Layered Tile Map
Kairos -Timing Library
Grambol
 *Hapaxia Links*