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

Author Topic: Problems with redistributing game  (Read 1222 times)

0 Members and 1 Guest are viewing this topic.

ryansclzo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Problems with redistributing game
« on: January 03, 2018, 07:48:25 pm »
I built my project using VS Express 2015. It runs fine on my development computers, but when I try to run the program on any other computer, it still can't find the Visual C++ redistributables such as MSVCP140D.DLL. I have installed the redist version exactly how it is on my development computer but it still just won't find them on computers that don't have the full VS Express 2015. I even placed the DLL's directly into the folder, but it shows an error such that it can't run.
« Last Edit: January 03, 2018, 07:50:29 pm by ryansclzo »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10990
    • View Profile
    • development blog
    • Email
Re: Problems with redistributing game
« Reply #1 on: January 03, 2018, 08:00:50 pm »
It's looking for the debug runtime DLL, the redist only install release DLLs as you generally don't distribute debug builds.

If you build your application in release mode you can start it on the other computer if you install the redist.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

ryansclzo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Problems with redistributing game
« Reply #2 on: January 03, 2018, 08:09:39 pm »
Thanks a TON. I feel dumb for spending so long trying to figure this out...

For future people: Go to Batch Build in visual studio, check mark release for either x64 or x86, then build.

 

anything