简体   繁体   中英

Visual Studio 2019 build published .exe with c++

I just programmed a little game with c++ and I want to play it on an other computer, but that doesn't work. It only works on my computer with vs studio on. What do I need to do? If you don't understand what I want to try: If you're using c# there is a "Publish" Button, on c++ there isn't a button for that.

I tried to change from debug to release, but I got an error, that then came this error: 'main': entrypoint not found I tried to solve this, but it doesn't work. Do I need to use Release or is it not important at all? It's because I need to turn on 'excluded from build', but with it turned off it doesn't work and this error comes up

Thanks for every Answer:)

I think you need Microsoft C and C++ runtime libraries on new PC. Please download and install proper libraries from Microsoft Visual C++ Redistributable latest supported downloads on new PC

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM