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

Cory Quammen cquammen at cs.unc.edu
Mon Apr 9 20:59:48 EDT 2012


Also, try turning off any antivirus software you may have running. My
CMake configuration was taking ages when my antivirus software was
activated, but was much faster with it disabled.

Cory

On Mon, Apr 9, 2012 at 5:56 PM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I would wipe it. I'm surprised it takes so long. Try turning off tests
> also until you get things building.
>
> I have not built VS10 in a while, but it didn't take 6-8 hours for
> cake to run. Something is strange. Is the binary tree of source tree
> on a remote drive or are they on a local drive.
>
> On Mon, Apr 9, 2012 at 2:45 PM, Kaucic, Robert A (GE Global Research)
> <kaucic at ge.com> wrote:
>> Bill,
>>
>> I re-ran cmake after I git-updated today, but I used the same binary tree.  I can wipe the binary tree and start over, but it takes 6-8 hours to cmake configure starting from an empty binary tree.  Do you still think that I should wipe it clean?
>>
>> Thanks,
>> Bob
>>
>> -----Original Message-----
>> From: Bill Lorensen [mailto:bill.lorensen at gmail.com]
>> Sent: Monday, April 09, 2012 5:42 PM
>> To: Kaucic, Robert A (GE Global Research)
>> Cc: insight-developers at itk.org
>> Subject: Re: [Insight-developers] ITK Visual Studio 2010 Windows 7 X64 build error
>>
>> 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
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
> _______________________________________________
> 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



-- 
Cory Quammen
Research Associate
Department of Computer Science
The University of North Carolina at Chapel Hill


More information about the Insight-developers mailing list