Unable to launch program made with Visual Studio on a computer without VS installed

1

I am trying to launch an .exe of a c++ app made in VS without VS installed but without success. Here is what I did: I compiled the program in release mode, Manually moved all the files from debug to release folder, as well as game library files. Then pasted the vcruntime140d.dll file there because it prompted me to do so. NOW when I double click on the exe file it says the following: Application wasnt properly launched 0xc000007b. Installing VS redistributable package did not help. What should I do? enter image description here

visual-studio
release
asked on Stack Overflow Mar 15, 2018 by John • edited Apr 28, 2018 by angry person

1 Answer

0

How to export an Allegro 5 game

I finally figured out what to do:

  • go to build > configuration manager, change for release and x86 platform.
  • add all necessary addons in properties > allegro 5 > addons
  • copy all the game files (images, music, etc.) as well as allegro 5 .dll files to your release folder

Boom. it is now launchable.

answered on Stack Overflow Apr 28, 2018 by John • edited Apr 28, 2018 by angry person

User contributions licensed under CC BY-SA 3.0