[Insight-users] Building the GUI Applications
Luis Ibanez
luis.ibanez at kitware.com
Mon, 09 Feb 2004 22:04:33 -0500
Hi George,
Are you sure that you are using corresponding
versions of Insight and InsightApplications ?
It may seem that they don't match in your case.
Please verify that you are using version 1.6
of both Insight and InsightApplications.
Do not mix CVS, 1.6, or 1.4 version of Insight
with a different version of InsightApplications.
The code in these two source trees evolves in
sync and they must be used from a similar date.
Regards,
Luis
----------------------------
George Iordanescu wrote:
> Hi Luis,
>
> Thank you for your quick reply.
>
> I rebuilt the VTK library so that ITK and VTK now use the same compilers but
> I still have the same error (see below). It seems that
> itk::ColorTable<float>::GetColorComponent() can not be called...
>
> Any ideas? Thank you.
> George
>
> [giordanescu at hp4000 Applications]$ make
> Building dependencies. cmake.depends...
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> -- Loading VTK CMake commands
> -- Loading VTK CMake commands - done
> cmake.depends is up-to-date
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary:
> building default_target
> Building dependencies. cmake.depends...
> cmake.depends is up-to-date
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer:
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkClippingPlane3DDrawerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkDisplayGlWindowGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkDisplayGlWindowFlatGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkFrustumFunctionControlGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkImageViewerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkImage2DViewerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkRGBImage2DViewerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkRegularStepGradientDescentGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkSlice2DDrawerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkSlice3DDrawerGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkSphereFunctionControlGUI.cxx...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/FltkImageViewer/fltkTimeProbesCollectorGUI.cxx...
> Building object file fltkClippingPlane3DDrawerGUI.o...
> Building object file fltkDisplayGlWindowGUI.o...
> Building object file fltkDisplayGlWindowFlatGUI.o...
> Building object file fltkFrustumFunctionControlGUI.o...
> Building object file fltkImageViewerGUI.o...
> Building object file fltkImage2DViewerGUI.o...
> Building object file fltkRGBImage2DViewerGUI.o...
> Building object file fltkRegularStepGradientDescentGUI.o...
> Building object file fltkSlice2DDrawerGUI.o...
> Building object file fltkSlice3DDrawerGUI.o...
> Building object file fltkSphereFunctionControlGUI.o...
> Building object file fltkTimeProbesCollectorGUI.o...
> Building object file fltkBox3D.o...
> Building object file fltkCone3D.o...
> Building object file fltkClippingPlane3DDrawer.o...
> Building object file fltkCylinder3D.o...
> Building object file fltkFrustum3D.o...
> Building object file fltkGlWindow.o...
> Building object file fltkGlWindowInteractive.o...
> Building object file fltkGlWindowInteractiveFlat.o...
> Building object file fltkImage2DViewerWindow.o...
> Building object file fltkRGBImage2DViewerWindow.o...
> Building object file fltkLightButton.o...
> Building object file fltkProgressBar.o...
> Building object file fltkShape3D.o...
> Building object file fltkSphere3D.o...
> Building object file fltkWindowInteractive.o...
> Building object file fltkTimeProbeGUI.o...
> Building object file fltkTimeProbesCollector.o...
> Building object file fltkUtils.o...
> Building static library libITKFltkImageViewer.a...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/VtkFltk:
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/VtkFltk/fltkVTKImageViewerGUI.cxx...
> Building object file fltkVTKImageViewerGUI.o...
> Building object file vtkFlRenderWindowInteractor.o...
> Building object file fltkVTKImageViewerBase.o...
> Building static library libITKVtkFltk.a...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itkCurvatureFlowToVTK.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk/itkCurvatureFlowToVTK...
> Building object file itkPNGVTKtoITKtoVTK.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk/itkPNGVTKtoITKtoVTK...
> Building object file itkVTKtoITKtoVTK.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk/itkVTKtoITKtoVTK...
> Building object file vtk2itk.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk/vtk2itk...
> Building object file vtk2itkDouble.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/Auxiliary/vtk/vtk2itkDouble...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/AnisotropicDiffusionImageFilter:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itk2DAnisotropicDiffusionImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/AnisotropicDiffusionImageFilter/itk2DAnisotropicDiffusionImageFilter...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSegmentation:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itk2DCannySegmentationLevelSetImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSegmentation/itk2DCannySegmentationLevelSetImageFilter...
> Building object file itk2DThresholdSegmentationLevelSetImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSegmentation/itk2DThresholdSegmentationLevelSetImageFilter...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/ITKFilterLib:
> building default_target
> Building dependencies. cmake.depends...
> Building object file ITKFilterLib.o...
> Building static library libExample_ITKFilterLib.a...
> Building object file ITKFilterLibTest.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/ITKFilterLib/Example_ITKFilterLibTest...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/ITKRegistrationLib:
> building default_target
> Building dependencies. cmake.depends...
> Building object file ITKRegistrationLib.o...
> Building static library libExample_ITKRegistrationLib.a...
> Building object file ITKRegistrationLibTest.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/ITKRegistrationLib/Example_ITKRegistrationLibTest...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/StreamedWatershedSegmentation/ParameterFileParser:
> building default_target
> Building dependencies. cmake.depends...
> Building object file lex.yy.o...
> Building object file y.tab.o...
> Building object file param.o...
> Building static library libparam.a...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/AntiAliasBinaryImageFilter:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itkAntiAliasBinaryImageFilterExample.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/AntiAliasBinaryImageFilter/itkAntiAliasBinaryImageFilterExample...
> Building object file itkSampleDataGenerator.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/AntiAliasBinaryImageFilter/itkSampleDataGenerator...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/SimpleLevelSetsExample:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itk2DSimpleLevelSetsExample.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/SimpleLevelSetsExample/itk2DSimpleLevelSetsExample...
> Building object file itk3DSimpleLevelSetsExample.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/SimpleLevelSetsExample/itk3DSimpleLevelSetsExample...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/FloodFilledSpatialFunction:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itkFloodFilledSpatialFunctionExample.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/FloodFilledSpatialFunction/itkFloodFilledSpatialFunctionExample...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/MultiResMIRegistration:
> building default_target
> Building dependencies. cmake.depends...
> Building object file MultiResMIRegistration.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/MultiResMIRegistration/MultiResMIRegistration...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/MIValidation:
> building default_target
> Building dependencies. cmake.depends...
> Building object file MIValidationApp.o...
> Building object file VanderbiltModality.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/MIValidation/MIValidationApp...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DICOMApp:
> building default_target
> Building dependencies. cmake.depends...
> Building object file main.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DICOMApp/DICOMApp...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSurfaceProcessing:
> building default_target
> Building dependencies. cmake.depends...
> Building object file itk3DAnisotropicFourthOrderLevelSetImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSurfaceProcessing/itk3DAnisotropicFourthOrderLevelSetImageFilter...
> Building object file itk3DIsotropicFourthOrderLevelSetImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSurfaceProcessing/itk3DIsotropicFourthOrderLevelSetImageFilter...
> Building object file itk3DUnsharpMaskLevelSetImageFilter.o...
> Building executable
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/LevelSetSurfaceProcessing/itk3DUnsharpMaskLevelSetImageFilter...
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter:
> building default_target
> Building dependencies. cmake.depends...
> Building Custom command
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx...
> Building object file DistanceMapFilterGUI.o...
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:
> In
> method `void itk::GLSliceView<ImagePixelType, OverlayPixelType>::update ()
> [with ImagePixelType = short
> unsigned int, OverlayPixelType = unsigned char]':
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkImageViewer.txx:113:
> instantiated from `fltk::ImageViewer<ImagePixelType,
> OverlayPixelType>::Show () [with ImagePixelType = short unsigned int,
> OverlayPixelType = unsigned char]'
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx:48:
> instantiated from here
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:721:
> no
> matching function for call to `itk::ColorTable<float>::GetNumberOfColors ()'
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkImageViewer.txx:113:
> instantiated from `fltk::ImageViewer<ImagePixelType,
> OverlayPixelType>::Show () [with ImagePixelType = short unsigned int,
> OverlayPixelType = unsigned char]'
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx:48:
> instantiated from here
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:723:
> no
> matching function for call to `itk::ColorTable<float>::GetNumberOfColors ()'
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkImageViewer.txx:113:
> instantiated from `fltk::ImageViewer<ImagePixelType,
> OverlayPixelType>::Show () [with ImagePixelType = short unsigned int,
> OverlayPixelType = unsigned char]'
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx:48:
> instantiated from here
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:728:
> no
> matching function for call to `itk::ColorTable<float>::GetColorComponent
> (unsigned int &, char)'
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkImageViewer.txx:113:
> instantiated from `fltk::ImageViewer<ImagePixelType,
> OverlayPixelType>::Show () [with ImagePixelType = short unsigned int,
> OverlayPixelType = unsigned char]'
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx:48:
> instantiated from here
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:731:
> no
> matching function for call to `itk::ColorTable<float>::GetColorComponent
> (unsigned int &, char)'
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/fltkImageViewer.txx:113:
> instantiated from `fltk::ImageViewer<ImagePixelType,
> OverlayPixelType>::Show () [with ImagePixelType = short unsigned int,
> OverlayPixelType = unsigned char]'
> /home/giordanescu/itk/InsightToolkit-1.6.0/build/Applications/DistanceMapFilter/DistanceMapFilterGUI.cxx:48:
> instantiated from here
> /home/giordanescu/itk/InsightToolkit-1.6.0/source/Applications/InsightApplications-1.6.0/Auxiliary/FltkImageViewer/GLSliceView.h:733:
> no
> matching function for call to `itk::ColorTable<float>::GetColorComponent
> (unsigned int &, char)'
> make[3]: *** [DistanceMapFilterGUI.o] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_DistanceMapFilter] Error 2
> make: *** [default_target] Error 2
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>