[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    Re: [Insight-users] RE: itkCurvatureFlowToVTK compile problems :
From:       Luis Ibanez <luis.ibanez () kitware ! com>
Date:       2003-12-31 16:14:24
Message-ID: 3FF2F5E0.10803 () kitware ! com
[Download RAW message or body]

Hi Christopher,

You should not use the CVS version of VTK for
building InsightApplications.

The applications are intended to be built with
the latest stable release of VTK, which is 4.2.

Please do a CVS update in your VTK using the
release tag = release-4-2, like:

       cvs update -r  release 4-2

Then rebuild your VTK and rebuild the application.

----

The conflict you are encountering is due to recent
changes in VTK's API intended to extend the support
for "doubles" in replacement of "floats".



Please let us know if you have further questions,


Thanks


   Luis


----------------------------------------------------------------
Hammond, Christopher R (Research) wrote:
>>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
>>
>>
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic