[Insight-users] Build ITK 3.14.0 under Win XP x64 and Visual Studio 2008

Charl Botha c.p.botha at tudelft.nl
Fri Jul 31 11:26:30 EDT 2009


2009/6/17 Thomas Hack <hack at bonn.edu>:
> I am trying to build ITK 3.14.0 with cmake 2.6 patch 4 and Visual Studio
> 2008 under Windows XP x64. Unfortunately the x64 build (VS2008 Win64) makes
> some problems. I will add the build log under this message. I am facing two
> different errors. The first is that a generated executable can't get
>
> and the second one is that the conpiler doesn't like some uses of void
>
> ("10>D:\libs\ITK\x64\InsightToolkit-3.14.0\Utilities\vxl\core\vnl/vnl_matlab_header.h(16)
> : error C2182: 'type' : illegal use of type 'void'

How did you manage to solve this problem?

Are the win32 cmake binaries supposed to be able to generate win64
build files?  I'm seeing the same error as you've documented above,
and the win32 cmake *could* be the culprit (although I did manage to
build 64bit VTK binaries using the 32bit cmake binaries).  Any
pointers/info/advice would be appreciated.

I'm using the win64 generator by invoking cmake with the following
parameter: -G "Visual Studio 9 2008 Win64"

See you,
Charl


More information about the Insight-users mailing list