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

Author Topic: sfml-graphics-2.dll missing  (Read 14079 times)

0 Members and 1 Guest are viewing this topic.

dzzank

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
sfml-graphics-2.dll missing
« on: April 28, 2014, 05:27:27 pm »
Hi! I'm trying to build a first game in SFML. I have the code, I can compile it and I can play the game. But when I open the .exe project file, I'm getting an error message: "The program can't start because sfml-graphics-2.dll is missing from your computer.". This is kinda weird because when I compile and run the code in Code::Blocks everything is ok.
How can I fix this problem?
P.S : Sorry for my english.

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: sfml-graphics-2.dll missing
« Reply #1 on: April 28, 2014, 05:33:39 pm »
Just copy all the .dll's associated with the modules you are using into the same directory as your .exe.
DSFML - SFML for the D Programming Language.

dzzank

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: sfml-graphics-2.dll missing
« Reply #2 on: April 28, 2014, 05:36:26 pm »
It's not working.

Jebbs

  • Sr. Member
  • ****
  • Posts: 358
  • DSFML Developer
    • View Profile
    • Email
Re: sfml-graphics-2.dll missing
« Reply #3 on: April 28, 2014, 05:47:28 pm »
It's not working.

What isn't working? Are you getting the same message or a different one?

Please try to be as specific as possible when trying to get help. ;)
DSFML - SFML for the D Programming Language.

dzzank

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: sfml-graphics-2.dll missing
« Reply #4 on: April 28, 2014, 06:08:01 pm »
Yes, I'm getting the same error message.
« Last Edit: April 28, 2014, 06:14:00 pm by dzzank »

dzzank

  • Newbie
  • *
  • Posts: 9
    • View Profile
    • Email
Re: sfml-graphics-2.dll missing
« Reply #5 on: April 28, 2014, 06:18:33 pm »
Hey! Now it's working. It seems I didn't put all DLL's in the file where the .exe is.
Thanks for help!

Kavex

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: sfml-graphics-2.dll missing
« Reply #6 on: May 03, 2014, 10:14:40 pm »
So I had this issue with visual studio 2012 but I figured out I had to put the dll in the debug folder where it compiles the .exe

 

anything