[Insight-users] Compile ITK - 3.10.2 (patch 1) - Win64 : GCC_XML

Brad King brad.king at kitware.com
Thu Feb 5 13:15:19 EST 2009


Paulo Henrique Junqueira Amorim wrote:
> Apply the patch in CableSwig but still with errors. Attached is the log.

Okay, it looks like the GCC parser itself inside gccxml does not work 
when built 64-bit.  I'll investigate this, but it may take a while.

For now, use my original workaround suggestion of building CableSwig in 
32-bit mode.  You can still use it for a 64-bit ITK.

-Brad

> 2009/2/5 Brad King <brad.king at kitware.com <mailto:brad.king at kitware.com>>
> 
>     Brad King wrote:
> 
>         Paulo Henrique Junqueira Amorim wrote:
> 
>             20>Compiler "C:/Program Files (x86)/Microsoft Visual Studio
>             9.0/VC/bin/amd64/cl.exe" is not supported by GCC_XML because
>             none of MSVC 6, 7, 7.1, 8 is installed.
> 
> 
>         There is a bug in this error message.  It should be looking for
>         Vc9 too.  I'll fix that.
> 
>         I think the real problem is that 64-bit gccxml does not look in
>         32-bit registry entries, so it does not see the VS installation.
>          This is an issue with the way MS implements support for both
>         64-bit and 32-bit applications.  An application without
>         knowledge of the mechanism only sees registry entries for
>         applications built with the same 'bitness'. I'm working on a fix
>         to teach gccxml where to look.
> 
> 
>     I've attached a patch which should fix this.
> 
>     -Brad
> 
> 



More information about the Insight-users mailing list