[Insight-developers] new error on Compliering ITK

Julien Jomier jjomier@cs.unc.edu
Wed, 28 Feb 2001 11:38:00 -0500


Hi Yinpeng,

It seems that the problem  is caused by an ifdef
statement in :

itkWindows.h

line 19:
the symbol __WIN32
should have only one underscore instead of two.

Hope that helps,


Julien and Luis


----- Original Message -----
From: "Yinpeng Jin" <yj76@columbia.edu>
To: <insight-developers@public.kitware.com>
Sent: Wednesday, February 28, 2001 10:27 AM
Subject: [Insight-developers] new error on Compliering ITK


> this arised after I update my itk this morning:
>
> --------------------Configuration: ITKBasicFilters - Win32
> Debug--------------------
> Performing Custom Build Step on
> C:/insightnew/Insight/Code/BasicFilters/CMakeLists.txt
> set output home to c:/insightnew/InsightBuild
> Compiling...
> itkWriter.cxx
> C:/insightnew/Insight/Code/Common\itkMutexLock.h(46) : error C2146: syntax
> error : missing ';' before identifier 'MutexType'
> C:/insightnew/Insight/Code/Common\itkMutexLock.h(46) : fatal error C1004:
> unexpected end of file found
> Error executing cl.exe.
>
> ITKBasicFilters.lib - 2 error(s), 0 warning(s)
>
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers