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

Bill Lorensen bill.lorensen at gmail.com
Mon Apr 9 17:42:23 EDT 2012


Bob,

Have you tried re-cmaking and compiling for a completely clean binary tree?

Bill

On Mon, Apr 9, 2012 at 2:33 PM, Kaucic, Robert A (GE Global Research)
<kaucic at ge.com> wrote:
> 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
>
>
>
>
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-developers
>



-- 
Unpaid intern in BillsBasement at noware dot com


More information about the Insight-developers mailing list