SFML community forums
Help => General => Topic started by: AzkaIsHere on August 09, 2018, 03: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?
-
at first you should provide errors text to get help :)
-
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.
-
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)
-
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
-
As far as I remember, the redistributables don't include the debug versions. But don't distribute debug builds of your game anyway ;)
-
? What do you mean? How do I fix this? I would like to share my games with other people...
-
Select "Release" in Visual Studio when you build your game, not "Debug". And optionally, learn about the differences between these configurations ;)