[Insight-users] Problem compiling cvs version of ITK onWin200
0/VC6.0
Lorensen, William E (Research)
lorensen at crd . ge . com
Mon, 17 Jun 2002 07:05:25 -0400
VTK 4 may be OK. As Bill Hoffman mentioned earlier, VTK has to be compiled with VTK_USE_ANSI_STDLIB
set on.
-----Original Message-----
From: Vincent Daanen [mailto:Vincent.Daanen@imag.fr]
Sent: Monday, June 17, 2002 2:17 AM
To: Lorensen, William E (Research)
Subject: Re: [Insight-users] Problem compiling cvs version of ITK
onWin2000/VC6.0
VTK 4
it'is not the CVS version ! does-it mattter ?
Vince
"Lorensen, William E (Research)" wrote:
> No, the stdlib flag should be left as is.
>
> I suspect you are building against an old version of vtk. What version do you have?
>
> Bill
>
> -----Original Message-----
> From: Vincent Daanen [mailto:Vincent.Daanen@imag.fr]
> Sent: Friday, June 14, 2002 8:59 AM
> To: insight-users@public.kitware.com
> Subject: Re: [Insight-users] Problem compiling cvs version of ITK
> onWin2000/VC6.0
>
> OK I get service pack 5 for visual studio.
>
> More files are now compiled but again, compilation process breaks with
> these errors :
>
> Compiling...
> vtkITKConfidenceConnectedImageFilter.cxx
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) :
> error C2039:
> 'seekdir' : is not a member of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106)
> : see
> declaration of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) :
> error C2061: syntax
> error : identifier 'seekdir'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) :
> error C2039:
> 'openmode' : is not a member of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106)
> : see
> declaration of 'ios'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) :
> error C2061: syntax
> error : identifier 'openmode'
> D:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(91) :
> error C2629:
> unexpected 'class std::ostrstream ('
>
> Is this related to the ITK_USE_SYSTEM_STDLIB flag ??
> Should I set it to On or OFF ??
>
> Thanks
>
> Vince
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
--
Vincent Daanen,
Research Engineer- Post Doctoral Position
Laboratoire TIMC/IMAG Equipe GMCAO - Universite Joseph Fourier - CNRS UMR 5525
Faculte de Medecine - Domaine de la Merci - 38706 La Tronche cedex - France
Tel: +33 (0)4 76 54 95 23
Vincent.Daanen@imag.fr