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

Author Topic: Publishing SFML Game  (Read 2991 times)

0 Members and 1 Guest are viewing this topic.

deuterium96

  • Newbie
  • *
  • Posts: 3
    • View Profile
Publishing SFML Game
« on: July 20, 2013, 08:16:56 pm »
I've just finish my project but I don't know how to run it on other computers.
I tried copying every .dll files, all resources(like sounds or pictures) and the .exe of the game into the same directory but it didn't work. I got an error which said: "msvcp100.dll is missing."
What should I do?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10989
    • View Profile
    • development blog
    • Email
Re: Publishing SFML Game
« Reply #1 on: July 20, 2013, 08:30:40 pm »
Yes you need to copy all SFML dlls, which includes the openal and libsndfile one, and your assets. And since you've compiled it with Visual Studio, you'll need to install the Visual C++ Redistributable from Microsoft, which will include the missing msvcp100.dll. Make sure to choose the correct redistributalbe though! :)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

deuterium96

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Publishing SFML Game
« Reply #2 on: July 20, 2013, 08:42:30 pm »
I installed Visual C++ Redistributable 2010 x64 but didn't work.
Then tried Visual C++ Redistributable for Visual Studio 2012 Update 3 because I used Visual Studio 2012, it didn't work again.

Target computer's OS is Windows 8 (64bit). My computer's too. Which redistributalbe should I choose?

EDIT: Sorry, the missing .dll is "msvcp110.dll" not "msvcp100.dll"
« Last Edit: July 20, 2013, 09:01:46 pm by deuterium96 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10989
    • View Profile
    • development blog
    • Email
Re: Publishing SFML Game
« Reply #3 on: July 20, 2013, 09:08:41 pm »
Well you Redistributable has to match your compiler version, thus which compiler did you use?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

deuterium96

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Publishing SFML Game
« Reply #4 on: July 20, 2013, 11:12:11 pm »
I tried every version and I manage to run the game. Thanks for your help.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10989
    • View Profile
    • development blog
    • Email
Re: Publishing SFML Game
« Reply #5 on: July 20, 2013, 11:22:21 pm »
I tried every version and I manage to run the game. Thanks for your help.
You're welcome!
Next time simply remember which compiler version you've used. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/