[Insight-users] RE: itkCurvatureFlowToVTK compile problems

Hammond, Christopher R (Research) hammondc at crd.ge.com
Wed, 31 Dec 2003 10:57:44 -0500


> I have the latest itk and vtk code checked out.  I get the following
> compile error when I compile in InsightApplications
> 
> Building object file itkCurvatureFlowToVTK.o...
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx: In
>    function `void ConnectPipelines(ITK_Exporter, VTK_Importer*) [with 
>    ITK_Exporter = itk::SmartPointer<itk::VTKImageExport<main()::ImageType>
> >, 
>    VTK_Importer = vtkImageImport]':
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx:133:   instantiated from here
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx:59: invalid
>    conversion from `float*(*)(void*)' to `double*(*)(void*)'
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx:59: 
>     initializing argument 1 of `virtual void 
>    vtkImageImport::SetSpacingCallback(double*(*)(void*))'
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx:60: invalid
>    conversion from `float*(*)(void*)' to `double*(*)(void*)'
> /home/hammondc/itk/InsightApplications/Auxiliary/vtk/itkCurvatureFlowToVTK
> .cxx:60: 
>     initializing argument 1 of `virtual void 
>    vtkImageImport::SetOriginCallback(double*(*)(void*))'
> gmake[5]: *** [itkCurvatureFlowToVTK.o] Error 1
> gmake[4]: *** [default_target] Error 2
> gmake[3]: *** [default_target_vtk] Error 2
> gmake[2]: *** [default_target] Error 2
> gmake[1]: *** [default_target_Auxiliary] Error 2
> gmake: *** [default_target] Error 2
> 
> 
> 
> 		Christopher Hammond
> 		Bioinformatics Lab
> 		GE Global Research Center
> 		Building K1, Room 5B37
> 		1 Research Circle, Schenectady, NY 12301
> 		* Phone: 518.387.6960  Dial Comm:  8*833.6960
> 		* FAX: 518.387.6104
> 
>