Home > Software engineering >  Vs2017 compiled exe file cannot be installed without vs computer to run on
Vs2017 compiled exe file cannot be installed without vs computer to run on

Time:11-08

Dear bosses, I use the vs2017 and easyX library has written a little game, but the exe file cannot be installed without vs computer to run on, always pop up the window, what should I do

CodePudding user response:

Try to compile options set in a static library to use MFC in

CodePudding user response:

The use of static connection Settings

CodePudding user response:

You compile is the debug version of the first, second try static compilation, if not will computer on the other side with shipping lines,

CodePudding user response:

It's no use without using MFC static library
Make the Release is compiled
After this a few missing DLL in the VS directory replication out
Paste the files in the directory
Such as Adobe software is doing just that

CodePudding user response:

To ensure the is compiled in Release mode (Debug compilation to use a lot of Debug library)
VC (VS) compiled code file of C language standard library functions are included in VCRuntIme garage, and function can be found in the control panel program

The corresponding version can perform the corresponding standard library functions, such as the compiler VS2019 must have VCRuntime 2015-2019
Solution, search the Internet to download the corresponding VCRuntime, or your computer directly to the file copy and paste in the past

CodePudding user response:

Engineering properties, links to use MFC static library, another choice in C/C + +/MT

CodePudding user response:

Static compilation or to the target machine installation of vc + + redistributable runtime support package,
  • Related