[Insight-developers] gccxml and msvc9

Charl Botha c.p.botha at tudelft.nl
Fri Aug 7 09:55:38 EDT 2009


2009/8/7 Brad King <brad.king at kitware.com>:
> Charl Botha wrote:
>>> I am using the ITK-3-14 checkout of CableSwig.  Did you fix the
>>> problem before or after the ITK-3-14 release?
>
> I fixed it on Jan 6, 2009.
>
>> Just checked my
>> C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\Vc9\Include
>> directory: there is no xxresult.  Is that possible?
>
> When gccxml builds, it should report that it is applying a patch
> called "vc9sp1Include.patch".  Do you see that?  Is it instead
> applying "vc9Include.patch"?

#####
C:\build\jwd\inst\CableSwig\lib\CableSwig\bin>gccxml_vcconfig.bat
Executing C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\VcInstall\v
ccat.exe C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\VcInstall\vc
9Include.patch | C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\VcIn
stall\vcpatch.exe -p0 -t -d C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccx
ml-0.9\Vc9\Include
Executing C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\VcInstall\v
ccat.exe C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\VcInstall\vc
9PlatformSDK.patch | C:\build\jwd\inst\CableSwig\lib\CableSwig\share\gccxml-0.9\
VcInstall\vcpatch.exe -p0 -t -d C:\build\jwd\inst\CableSwig\lib\CableSwig\share\
gccxml-0.9\Vc9\PlatformSDK
#####

Seems it's indeed applying vc9Include.patch.

> Perhaps the installer is not recognizing service pack 1.  What
> language variant do you have?  Do you have a registry entry like
>
>  // English SP1
>  "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\9.0\\InstalledProducts\\KB948484;",
>
> ?  Do you know the registry entry for your sp1?

I have (on win32, where it's failing):
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\InstalledProducts\KB945140
with (Default) = "Microsoft Visual Studio 2008 Professional Edition -
ENU Service Pack 1 (KB945140)"

and also:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0\InstalledProducts\KB947888
with (Dfeault) = "Microsoft Visual Studio 2008 Professional Edition -
ENU Service Pack 1 (KB947888)"

Wow, thanks MS, it's really great that it's so easy to determine if
SP1 is installed or not! :)

Brad, thank you (very sincerely :) for your extremely effective
trouble-shooting.  Should I just write the KB948484 key into the
registry so that gccxml_vcconfig does the right thing?

Thanks again,
Charl

p.s. On Win64, I have:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\InstalledProducts\KB945140
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\InstalledProducts\KB947888
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\9.0\InstalledProducts\KB948484
<--- !!!


More information about the Insight-developers mailing list