[Insight-users] Compilation of Itk fails on Win2000

Julien Jomier jjomier@cs.unc.edu
Mon, 1 Apr 2002 11:18:53 -0500


Hi Vincent,

I've been thinking about your problem, and it seems that it
comes from the FLTK include directory.
You need to specify in CMake "E:\Outils_Dev\fltk-1.1.0b10\" instead
of  "E:\Outils_Dev\fltk-1.1.0b10\FL" as the include directory for FLTK.
By default ITK looks into the FL directory.

Bonne chance :-)

Julien

----- Original Message -----
From: "Vincent Daanen" <Vincent.Daanen@imag.fr>
To: <insight-users@public.kitware.com>
Sent: Tuesday, March 26, 2002 8:08 AM
Subject: [Insight-users] Compilation of Itk fails on Win2000


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
_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users