The mkimage.exe application in the bin folder was compiled as a debug build. This requires the user to have Visual Studio 2010 installed, or to illegaly obtain a copy of the debug CRT DLL from somewhere else on the internet.
This can be observed by running the application on a system that does not have Visual Studio 2010 installed. You will get a dialog box like this:
---------------------------
mkimage.exe - System Error
---------------------------
The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------
OK
---------------------------
The program sh uld be compiled as a release build, linked against the standard CRT that is legally distributable without needing Visual Studio 2010 installed.
Hi andrewness,
I ve tested the SDK5 version and i didn't had any trouble to run the mkimage.exe on two pc's that doesn't have Visual Studio 10 installed.
Thanks MT_dialog
Can you search for the file MSVCR100D.dll on your computer? It must exist somewhere or you would get this error as well.
To be clear, the version I have is from:http://support.dialog-semiconductor.com/resource/tutorial-3-suota-multi-...
Which says it was updated on 04/05/2016.
I see that the SDK itself contains the source to mkimage, so I can compile a release build myself...but that won't help people not familiar with Windows programming (and requires a Windows compiler to at least be installed on another computer, if not the same computer to do this)
Hi andrewness,
I ve tried the mkimage.exe in three different pc's, one of them was a new clear installation of windows 7, with no Visual Studio 10 ever installed, i ve also check for the debugging .dll and didn't found it, only theMSVCR100.dll was present. I ve also checked with the dependancy checker, please check the attached image, couldn't find the debug dll in the mkimage dependancies. Nevertheless i ve issued an internal ticket in order to know for sure from the application team if the mkimage.exe is a debug or a proper release, they assured that the build is a release and not debug.
Thanks MT_dialog
Hi,
The Dependency Walker screenshot makes it clear that you are using a different version of mkimage.exe than the one provided by your site at the link I posted above:http://support.dialog-semiconductor.com/resource/tutorial-3-suota-multi-...
Please see the attached screenshot of this version of mkimage.exe that shows it is linked to the debug DLL (MSVCR100D.dll)
Andrew
Hi andrewness,
I missed the post with the link you provided, please check your SDK5 folder in the specified directory \DA1458x_SDK\5.0.3\binaries\host\windows\mkimage, there you should find a proper version of the mkimage.exe. I will make sure that the link that you ve specified will be updated with a proper mkimage release.
Thanks MT_dialog
Thank you