[solved] Microsoft Visual C++ Runtime Library says error
-
@mcosta no but in DependencyWalker I got following error:
Error: At least one module has an unresolved import due to a missing export function in an implicitly dependent module.
Error: Modules with different CPU types were found.
Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module. -
@koahnig My Qt version is 5. yes it works from QT Creator. Then I moved **.exe ** file from release directory into C:\tests\ and copied requred dlls from qt installation directory\bin\ into C:\tests\. before it couldn't started but after I copied required libraries it started but with runtime error.
-
I could be wrong but a problem like mentioned with CPU types could mean you are copying the wrong DLLs. It was confusing to me at first but there are duplicate (or rather similarly named) DLLs that service the Qt Creator and in my first attempt I was copying those rather than the ones from the compiler directory.
The other thing is you'll likely need the platforms directory and at minimum the windows platform support.
Basically for even a fairly simple program you need a lot of DLLs. My best advice is to use a product like VMWare Workstation or VirtualBox. Install a clean simple copy of the OS you plan to target. Move your application to this VM and work on adding DLLs, platforms, and plugins until it runs. When you can get it to run you've got what you need and you can zip that stuff up or create an installer from it.
I'm using the MS Visual C++ compiler (2013) and to get my app to run on a fresh install I needed some DLLS from the compiler as well.
-
Hi,
If you don't have the option in the Topic Tools menu, just edit the thread title and prepend [solved]