View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008093CMakeModulespublic2008-11-13 14:132011-06-06 18:25
ReporterClinton Stimpson 
Assigned ToBill Hoffman 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in VersionCMake-2-6 
Summary0008093: When using Win64 generator, can't find VS redist dir
Description== CMakeLists.txt ==
INCLUDE(InstallRequiredSystemLibraries)
==

Choosing Visual Studio 8 2005 Win64 generator results in MSVC80_REDIST_DIR not found. CMake takes a 64 bit view of the registry and can't find the Visual Studio installation.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0014105)
David Cole (manager)
2008-11-13 18:01

Fixed in CVS HEAD:
http://public.kitware.com/cgi-bin/viewcvs.cgi/Modules/InstallRequiredSystemLibraries.cmake?root=CMake&r1=1.13&r2=1.14 [^]

Bill, could you merge to CMake-2-6...? Thanks.
(0016642)
Chuck Seberino (reporter)
2009-06-04 18:48

FYI, On my Vista 64 system, the proper registry key for Visual Studio 8.0 is in
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\8.0;InstallDir]/../../VC/redist"

The difference being that there is a 'Wow6432Node' directory between SOFTWARE and Microsoft. I simply added the additional search path to the list like so:

    FIND_PATH(MSVC80_REDIST_DIR NAMES ${CMAKE_MSVC_ARCH}/Microsoft.VC80.CRT/Microsoft.VC80.CRT.manifest
      PATHS "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\8.0;InstallDir]/../../VC/redist"
            "[HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Microsoft\\VisualStudio\\8.0;InstallDir]/../../VC/redist"
      )

Checked against Visual Studio 2005 Pro
(0025328)
David Cole (manager)
2011-02-08 12:09

This is long since fixed and merged into the main stream release branches of CMake...
(0026705)
David Cole (manager)
2011-06-06 18:25

Closing resolved issues that have not been updated in more than 3 months.

 Issue History
Date Modified Username Field Change
2008-11-13 14:13 Clinton Stimpson New Issue
2008-11-13 18:01 David Cole Status new => assigned
2008-11-13 18:01 David Cole Assigned To => David Cole
2008-11-13 18:01 David Cole Note Added: 0014105
2008-11-13 18:01 David Cole Assigned To David Cole => Bill Hoffman
2009-06-04 18:48 Chuck Seberino Note Added: 0016642
2011-02-08 12:09 David Cole Note Added: 0025328
2011-02-08 12:09 David Cole Status assigned => resolved
2011-02-08 12:09 David Cole Fixed in Version => CMake-2-6
2011-02-08 12:09 David Cole Resolution open => fixed
2011-06-06 18:25 David Cole Status resolved => closed
2011-06-06 18:25 David Cole Note Added: 0026705


Copyright © 2000 - 2018 MantisBT Team