[Insight-developers] ITK Visual Studio 2010 Windows 7 X64 builderror

Kaucic, Robert A (GE Global Research) kaucic at ge.com
Mon Apr 9 17:51:49 EDT 2012


Also,  I build only TESTING, not EXAMPLES and I set build threads to 1
to avoid the multi-thread build problems on VS 2010 that others have
mentioned.

 

From: insight-developers-bounces at itk.org
[mailto:insight-developers-bounces at itk.org] On Behalf Of Kaucic, Robert
A (GE Global Research)
Sent: Monday, April 09, 2012 5:34 PM
To: insight-developers at itk.org
Subject: [Insight-developers] ITK Visual Studio 2010 Windows 7 X64
builderror

 

Developers,

 

I have been trying to build ITK (at the moment, I have the 9 Apr 2012
git checkout) using MS Visual Studio 2010 for Windows 7 X64 for the past
week and am currently stuck on a particular build error.  Earlier in the
process, Jim Miller pointed me to a CMake 2.8.7 patch that got me by
some of the errors (but I will say that the patch is kind of "flaky",
i.e. cmake will hang, sometimes for hours at a time, before I eventually
kill it).  The most recent error is in NrrdConfigure.h.

 

C:\projects\ITK-bin64\Modules\ThirdParty\NrrdIO\src\NrrdIO\NrrdConfigure
.h(11): fatal error C1017: invalid integer constant expression

  mop.c

 

with line 11 being

 

#if CMAKE_SIZEOF_VOID_P == 8

 

Now in context

 

#define CMAKE_SIZEOF_VOID_P 

#if !defined(__APPLE__)

#if CMAKE_SIZEOF_VOID_P == 8

   #define TEEM_32BIT 0

#else

   #define TEEM_32BIT 1

#endif

#elif defined(__LP64__) && __LP64__

#define TEEM_32BIT 0

#else

#define TEEM_32BIT 1

#endif

 

Can anyone help?

 

Thanks,

Bob

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-developers/attachments/20120409/a91f5747/attachment.htm>


More information about the Insight-developers mailing list