Welcome, Guest. Please login or register.

Author Topic: Friends can't open my games  (Read 159 times)

0 Members and 1 Guest are viewing this topic.

AzkaIsHere

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Email
Friends can't open my games
« on: August 09, 2018, 01:13:16 pm »
Hello guys, I need help on this, I've been trying for months to share my games with my friends but when they open the .exe they always get errors. I tried copying and pasting the sfml libs with the exe, but still noting, what should I do?

achpile

  • Full Member
  • ***
  • Posts: 210
    • View Profile
    • Achpile's homepage
    • Email
Re: Friends can't open my games
« Reply #1 on: August 09, 2018, 03:26:07 pm »
at first you should provide errors text to get help  :)

AzkaIsHere

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Email
Re: Friends can't open my games
« Reply #2 on: August 10, 2018, 07:32:59 pm »
here is the error that appears when they try to open the .exe, it is italian, I'll translate it to you:

The execution of the code cannot proceed because MSVCP140D.dll has not been found. To solve the problem, try to reinstall the program.

dabbertorres

  • Sr. Member
  • ****
  • Posts: 495
    • View Profile
    • website/blog
Re: Friends can't open my games
« Reply #3 on: August 10, 2018, 07:59:35 pm »
They need to download and install the Visual C++ Redistributable: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads (pick the one matching your version of Visual Studio)

AzkaIsHere

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Email
Re: Friends can't open my games
« Reply #4 on: August 10, 2018, 08:12:40 pm »
I edited the program with visual studio 2017, I made my friend download the x86 for visual studio 2017 and it didn't work, then I made him install the x64 and it didn't work too... I don't know what's the problem

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 31768
    • View Profile
    • SFML's website
    • Email
Re: Friends can't open my games
« Reply #5 on: August 11, 2018, 10:50:59 am »
As far as I remember, the redistributables don't include the debug versions. But don't distribute debug builds of your game anyway ;)
Laurent Gomila - SFML developer

AzkaIsHere

  • Newbie
  • *
  • Posts: 23
    • View Profile
    • Email
Re: Friends can't open my games
« Reply #6 on: August 11, 2018, 06:39:57 pm »
? What do you mean? How do I fix this? I would like to share my games with other people...

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 31768
    • View Profile
    • SFML's website
    • Email
Re: Friends can't open my games
« Reply #7 on: August 12, 2018, 08:28:45 am »
Select "Release" in Visual Studio when you build your game, not "Debug". And optionally, learn about the differences between these configurations ;)
Laurent Gomila - SFML developer

 

anything