[CMake] manifest version mismatch with VS 2008 and InstallRequiredSystemLibraries

Tyler tyler at cryptio.net
Tue May 3 11:52:02 EDT 2011


Yes, I verified the manifests in each binary with strings + grep.
Everything is produced with a version of 9.0.21022.

tyler

On Tue, May 3, 2011 at 8:49 AM, John Drescher <drescherjm at gmail.com> wrote:
> On Tue, May 3, 2011 at 11:43 AM, Tyler <tyler at cryptio.net> wrote:
>> My project makes use of the CMake/CPack module
>> InstallRequiredSystemLibraries to package Microsoft Visual C Runtime
>> libraries with other build artifacts. Despite this and despite the
>> presence of appropriate-looking files showing up in the installed
>> image, my project does not run on XP and Vista machines unless the
>> user installs the vcredist package from Microsoft.
>>
>> The VC runtime libraries provided by Microsoft and picked up by
>> CMake/CPack have a manifest version of 9.0.30729.4148. I believe this
>> version string refers to VS2008 SP1 + some hotfix. This seems
>> reasonable since my Windows build machine is running VS2008 SP1 + some
>> hotfix.
>>
>> However, all the binaries produced by the build system have the
>> version sting 9.0.21022 embedded internally in a manifest.
>>
>
> Are you sure that all the libraries and dlls you use in your project
> were compiled with "VS2008 SP1 + some hotfix."
>
> I have in the past when I updated the compiler but forgot to clean
> build all of the dependencies (like Qt and VTK).
>
> John
>


More information about the CMake mailing list