Page 1 of 1

Some DLL's is missing

Posted: 2016-12-05, 02:26
by vvt
Hi.
I'm using windows 7 x64.
But when I trying to run CaWE.exe, from "Cafu-bin-2016-10-20-win32" release, error with missing DLL's appear.
So, dependency walker show me all files missing, here its names:
API-MS-WIN-CRT-CONVERT-L1-1-0.DLL
API-MS-WIN-CRT-ENVIRONMENT-L1-1-0.DLL
API-MS-WIN-CRT-FILESYSTEM-L1-1-0.DLL
API-MS-WIN-CRT-HEAP-L1-1-0.DLL
API-MS-WIN-CRT-LOCALE-L1-1-0.DLL
API-MS-WIN-CRT-MATH-L1-1-0.DLL
API-MS-WIN-CRT-RUNTIME-L1-1-0.DLL
API-MS-WIN-CRT-STDIO-L1-1-0.DLL
API-MS-WIN-CRT-STRING-L1-1-0.DLL
API-MS-WIN-CRT-TIME-L1-1-0.DLL
API-MS-WIN-CRT-UTILITY-L1-1-0.DLL
MSVCP140.DLL
VCRUNTIME140.DLL
IESHIMS.DLL
And, I ask you to include this files in distributed archive, or recompile binaries with static options( or similar ).

Re: Some DLL's is missing

Posted: 2016-12-05, 13:13
by Carsten
Hi vvt,
welcome to the Cafu forums! :welcome:

Unfortunately, the solution is not as easy as linking statically (which would be my favorite), because when we load other DLLs (dynamically at runtime), e.g. for the renderer or sound system, more than one copy of the C/C++ runtime may be introduced into the program and such copies conflict with each other when resources are shared across the "exe/dll boundary".

This is a very unfortunate problem. At this time, the best solution would probably be to ship Cafu with a full-blown installer that addresses the problem by automatically installing the VC++ Redistributable mentioned below. (That's the main purpose of today's installers, I guess.)

Can you please try to download and install the Visual C++ Redistributable for Visual Studio 2015 manually for now?

Please let me know if this helps.

Re: Some DLL's is missing

Posted: 2016-12-05, 15:40
by vvt
Yes, this helps when I instaled x86 and x64 version.
Thanks!