[CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread Michael Jackson
Not sure if this is a CMake issue or not but I'll give it a shot. I am packaging up my application using CPack (zip) and all seems fine. I get the MSVC runtime libraries copied and the manifest file created and all seems to run just fine. If I use Dependency Walker to look at exactly _which_

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread Michael Jackson
Yes, I think part of the issue is what is mentioned and I do have plugins (Qt based) and have taken the steps he lays out. But I am still curious as to why Dependency Walker says it is using one version of the runtime libraries when the Manifest (both external and embedded) says to use another.

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread clinton
Here's my (not so complete) understanding... Public assemblies are searched before private ones. http://msdn.microsoft.com/en-us/library/aa374224(v=vs.85).aspx So, on your machine, you have the required CRT libraires in the winsxs folder. You also have a redirection that says to use a newer CRT

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread David Cole
On Tue, Aug 9, 2011 at 3:27 PM, clin...@elemtech.com wrote: Here's my (not so complete) understanding... Public assemblies are searched before private ones. http://msdn.microsoft.com/en-us/library/aa374224(v=vs.85).aspx So, on your machine, you have the required CRT libraires in the winsxs

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread David Partyka
Very cool! +1 On Tue, Aug 9, 2011 at 3:28 PM, David Cole david.c...@kitware.com wrote: On Tue, Aug 9, 2011 at 3:27 PM, clin...@elemtech.com wrote: Here's my (not so complete) understanding... Public assemblies are searched before private ones.

Re: [CMake] Not matching versions of MSVC Runtime Libraries in Manifest

2011-08-09 Thread Michael Jackson
On Aug 9, 2011, at 3:30 PM, David Partyka wrote: Very cool! +1 On Tue, Aug 9, 2011 at 3:28 PM, David Cole david.c...@kitware.com wrote: On Tue, Aug 9, 2011 at 3:27 PM, clin...@elemtech.com wrote: Here's my (not so complete) understanding... Public assemblies are searched before