[Insight-users] RE: [Insight-users] ITK 1.6 don´t compile my program
Ivan Macia
imacia@vicomtech.es
Thu May 6 09:03:52 EDT 2004
Hi Marcelo,
Download the latest version of
itkVTKImageToImageFilter.h
itkVTKImageToImageFilter.cxx
itkImageToVTKImageFilter.h
itkImageToVTKImageFilter.cxx
from the Insight CVS
The fix supports now old versions of vtk that use float for the calculations
Regards
Iván
-----Mensaje original-----
De: insight-users-admin@itk.org [mailto:insight-users-admin@itk.org]En
nombre de Oliveira Marcelo
Enviado el: miércoles, 05 de mayo de 2004 16:48
Para: insight-users@itk.org
Asunto: [Insight-users] ITK 1.6 don´t compile my program
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.tx
x: 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.tx
x:42: error: invalid
conversion from `double*(*)(void*)' to `float*(*)(void*)'
/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.tx
x: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.tx
x:43: error: invalid
conversion from `double*(*)(void*)' to `float*(*)(void*)'
/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.tx
x: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 - Fale com seus amigos online. Instale agora!
More information about the Insight-users
mailing list