MSVC2019_x64 compiler issues
-
When I run my application using the MSVC2019_64bit compiler on my laptop it runs normally but when I try to run it on another laptop an error occurs when opening the application such as VCRUNTIME140_1D dll and there are several more errors, how to solve it?
-
When I run my application using the MSVC2019_64bit compiler on my laptop it runs normally but when I try to run it on another laptop an error occurs when opening the application such as VCRUNTIME140_1D dll and there are several more errors, how to solve it?
@Blackzero said in MSVC2019_x64 compiler issues:
how to solve it?
Use windeployqt to make a deployable package of your application.
-
@Blackzero said in MSVC2019_x64 compiler issues:
how to solve it?
Use windeployqt to make a deployable package of your application.
@Christian-Ehrlicher Yes, I have deployed with CMD windeployqt.exe "C:/Project/database.exe" it works on my laptop but when I install it on another laptop it issues the error.
-
So does the windeployqt package include the
VCRUNTIME140_1D dllof the error message?and there are several more errors, how to solve it?
Depends what the other errors are.
-
Looks like nearly every DLL/library needed. So like I asked are any of these actually in the windeployqt package? Are you sure you ran and deployed and it was successful because ... Oh, maybe I misunderstood: do you mean those are included but not the
VCRUNTIMeone? You said there were other errors? -
So does the windeployqt package include the
VCRUNTIME140_1D dllof the error message?and there are several more errors, how to solve it?
Depends what the other errors are.
@JonB said in MSVC2019_x64 compiler issues:
VCRUNTIME140_1D
This is a debug lib. Compile your app in release mode for deploying.
-
@JonB said in MSVC2019_x64 compiler issues:
VCRUNTIME140_1D
This is a debug lib. Compile your app in release mode for deploying.
@Christian-Ehrlicher said in MSVC2019_x64 compiler issues:
This is a debug lib. Compile your app in release mode for deploying.
Also, you might still have to manually install the VS 2019 runtime package on the other laptop. (Which would not include the debug libraries. Those you only get by installing Visual Studio.)