[Insight-developers] itk/vtk troubles

Damion Shelton dmshelto@andrew.cmu.edu
Thu, 21 Mar 2002 14:28:23 -0500


Hi, I've got a weird bug. Including the following lines:

#include <vtkImageImport.h>
#include <itkVTKImageExport.h>

confuses Visual C++:

C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error 
C2039: 'seekdir' : is not a member of 'ios'
        C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : 
see declaration of 'ios'

However, reversing the order:

#include <itkVTKImageExport.h>
#include <vtkImageImport.h>

works fine. Any ideas?

-Damion-