[Insight-developers] ITK Visual Studio 2010 Windows 7 X64 build error
Kaucic, Robert A (GE Global Research)
kaucic at ge.com
Mon Apr 9 17:33:48 EDT 2012
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/0f614d02/attachment.htm>
More information about the Insight-developers
mailing list