[Insight-users] Compilation of Itk fails on Win2000

Vincent Daanen Vincent.Daanen@imag.fr
Tue, 26 Mar 2002 14:08:46 +0100


Hi,

I try to compile itk on a win2000 based box with msvc 6.0

When compiling the IView project, compilation stop with theses errors

IViewGUI.cxx (same errors for IViewGUIBase.cxx file)
E:\Outils_Dev\fltk-1.1.0b10\FL\math.h(52) : error C2065: 'floor' :
undeclared identifier
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(149) : error
C2039: 'sqrt' : is not a member of '`global namespace''
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(149) : error
C2065: 'sqrt' : undeclared identifier
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2039: 'exp' : is not a member of '`global namespace''
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2039: 'log' : is not a member of '`global namespace''
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2039: 'exp' : is not a member of '`global namespace''
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2039: 'log' : is not a member of '`global namespace''
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2065: 'exp' : undeclared identifier
E:\Outils_Dev\Insight\Code\Numerics\vxl\vnl/vnl_math.h(153) : error
C2065: 'log' : undeclared identifier
E:\Outils_Dev\Insight\Code\Numerics\vxl\vcl\win32/vcl_complex.h(49) :
error C2373: 'sqrt' : redefinition; different type modifiers

Is this due to a mis configuration within CmakeSetup ? 

what should I do ?
 
Thanks for help

  Vince



-- 
Vincent Daanen,
Research Engineer- Post Doctoral Position
Laboratoire TIMC/IMAG Equipe GMCAO - Université Joseph Fourier - CNRS
UMR 5525
Faculté de Médecine - Domaine de la Merci - 38706 La Tronche cedex -
France
Tel: +33 (0)4 76 54 95 23
Vincent.Daanen@imag.fr