[Insight-users] ITK 1.6 don´t compile m
y program
Luis Ibanez
luis.ibanez@kitware.com
Fri May 7 01:15:30 EDT 2004
Hi Marcelo,
VTK 4.4 is not compatible with ITK 1.6
due to the introduction of doubles for
representing image spacing and origin
in VTK.
You will have to choose one of the
following options:
A) ITK 1.6 + VTK 4.2
B) ITK CVS + VTK 4.4
C) ITK CVS + VTK CVS
Just for the record,
ITK 1.8 is scheduled to be released
in August this year.
Regards,
Luis
-----------------------
Oliveira Marcelo wrote:
> Hi ITK user´s !!!!!
>
> My program works fine with ITK 1.4 and VTK 4.2 on my Linux Susy 5.
> Now i´m trying update the ITK to version 1.6, VTK 4.4 and CMake 1.8.3,
> and this errors happens !!!
>
> What is the best way to solve this ????
>
> Thank´s a lot for you hints !!!!!
>
>
> linux:/home/msrcelo/Programas/fluid/SegmentacaoRegistro # make
> Building dependencies. cmake.depends...
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> Building object file DoutoradoIsolatedConnected.o...
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:
> In
> constructor `
> itk::VTKImageToImageFilter<TOutputImage>::VTKImageToImageFilter() [with
> TOutputImage =
> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType]':
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.h:50:
> instantiated from `static
> itk::SmartPointer<itk::VTKImageToImageFilter<TOutputImage> >
> itk::VTKImageToImageFilter<TOutputImage>::New() [with TOutputImage =
> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType]'
> /home/msrcelo/Programas/fluid/SegmentacaoRegistro/DoutoradoIsolatedConnected.cxx:83:
> instantiated from here
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:42:
> error: invalid
> conversion from `double*(*)(void*)' to `float*(*)(void*)'
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:42:
> error:
> initializing argument 1 of `void itk::VTKImageImport<TOutputImage,
> TVTKRealType>::SetSpacingCallback(TVTKRealType*(*)(void*)) [with
> TOutputImage =
> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType,
> TVTKRealType = float]'
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.h:50:
> instantiated from `static
> itk::SmartPointer<itk::VTKImageToImageFilter<TOutputImage> >
> itk::VTKImageToImageFilter<TOutputImage>::New() [with TOutputImage =
> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType]'
> /home/msrcelo/Programas/fluid/SegmentacaoRegistro/DoutoradoIsolatedConnected.cxx:83:
> instantiated from here
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:43:
> error: invalid
> conversion from `double*(*)(void*)' to `float*(*)(void*)'
> /usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:43:
> error:
> initializing argument 1 of `void itk::VTKImageImport<TOutputImage,
> TVTKRealType>::SetOriginCallback(TVTKRealType*(*)(void*)) [with
> TOutputImage
> = DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType,
> TVTKRealType = float]'
> make[1]: ** [DoutoradoIsolatedConnected.o] Erro 1
> make: ** [default_target] Erro 2
> linux:/home/msrcelo/Programas/fluid/SegmentacaoRe gistro #
>
>
> ------------------------------------------------------------------------
> *Yahoo! Messenger*
> <http://br.rd.yahoo.com//mail_br/tagline/?http://br.download.yahoo.com/messenger/>
> - Fale com seus amigos online. Instale agora!
> <http://br.rd.yahoo.com//mail_br/tagline/?http://br.download.yahoo.com/messenger/>
More information about the Insight-users
mailing list