[Insight-developers] itk/vtk troubles
Damion Shelton
dmshelto@andrew.cmu.edu
Thu, 21 Mar 2002 14:46:33 -0500
Ok, I'll give that a try.
Thanks,
-Damion-
--On Thursday, March 21, 2002 2:40 PM -0500 Bill Hoffman
<bill.hoffman@kitware.com> wrote:
> Recompile VTK, but turn VTK_USE_ANSI_STDLIB to ON, VTK by default
> uses the old stream libraries which are incompatible with the new ones
> that ITK uses.
>
> -Bill
>
>
> At 02:28 PM 3/21/2002 -0500, Damion Shelton wrote:
>> 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-
>> _______________________________________________
>> Insight-developers mailing list
>> Insight-developers@public.kitware.com
>> http://public.kitware.com/mailman/listinfo/insight-developers
>