[Insight-users] Problem compiling cvs version of ITK onWin2000/VC6.0

Vincent Daanen Vincent . Daanen at imag . fr
Fri, 14 Jun 2002 14:59:16 +0200


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