[Insight-users] ITK 1.6 don´t compile my program
Oliveira Marcelo
marceloitk@yahoo.com.br
Wed May 5 15:48:09 EDT 2004
--0-701775380-1083768489=:5897
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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/SegmentacaoRegistro #
---------------------------------
Yahoo! Messenger - Fale com seus amigos online. Instale agora!
--0-701775380-1083768489=:5897
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>
<DIV><FONT face=Arial size=2>Hi ITK user´s !!!!! </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>My program works fine with ITK 1.4 and VTK 4.2 on my Linux Susy 5. </FONT></DIV>
<DIV><FONT face=Arial size=2>Now i´m trying update the ITK to version 1.6, VTK 4.4 and CMake 1.8.3, and this errors happens !!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What is the best way to solve this ????</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thank´s a lot for you hints !!!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>linux:/home/msrcelo/Programas/fluid/SegmentacaoRegistro # make<BR>Building dependencies. cmake.depends...<BR>-- Loading VTK CMake commands<BR>-- Loading VTK CMake commands - done<BR>Building object file DoutoradoIsolatedConnected.o...<BR>/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx: In<BR> constructor `<BR> itk::VTKImageToImageFilter<TOutputImage>::VTKImageToImageFilter() [with<BR> TOutputImage =<BR> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType]':<BR>/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]'<BR>/home/msrcelo/Programas/fluid/SegmentacaoRegistro/DoutoradoIsolatedConnected.cxx:83: instantiated from here<BR>/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:42: error: invalid<BR> conversion from `double*(*)(void*)' to `float*(*)(void*)'<BR>/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:42: error:<BR> initializing argument 1 of `void itk::VTKImageImport<TOutputImage,<BR> TVTKRealType>::SetSpacingCallback(TVTKRealType*(*)(void*)) [with<BR> TOutputImage =<BR> DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType,<BR> TVTKRealType = float]'<BR>/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]'<BR>/home/msrcelo/Programas/fluid/SegmentacaoRegistro/DoutoradoIsolatedConnected.cxx:83: instantiated from here<BR>/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:43: error: invalid<BR> conversion from `double*(*)(void*)' to `float*(*)(void*)'<BR>/usr/local/src/InsightApplications/Auxiliary/vtk/itkVTKImageToImageFilter.txx:43: error:<BR> initializing argument 1 of `void itk::VTKImageImport<TOutputImage,<BR> TVTKRealType>::SetOriginCallback(TVTKRealType*(*)(void*)) [with TOutputImage<BR> = DoutoradoIsolatedConnected::SetInputImage(vtkImageData*)::ImageType,<BR> TVTKRealType = float]'<BR>make[1]: ** [DoutoradoIsolatedConnected.o] Erro 1<BR>make: ** [default_target] Erro 2<BR>linux:/home/msrcelo/Programas/fluid/SegmentacaoRegistro
#</FONT></DIV></DIV><p><br><hr size=1><a href="http://br.rd.yahoo.com//mail_br/tagline/?http://br.download.yahoo.com/messenger/"><b>Yahoo! Messenger</b></a> - Fale com seus amigos online. <a href="http://br.rd.yahoo.com//mail_br/tagline/?http://br.download.yahoo.com/messenger/">Instale agora!
--0-701775380-1083768489=:5897--
More information about the Insight-users
mailing list