[Insight-users] building applications 2.2.0 with vtk and fltk

Reinhard Hameeteman reinhard.afstuderen at gmail.com
Thu Sep 8 09:26:59 EDT 2005


Hi,
I am trying to build itk applications 2.2.0 together with itk 2.2.0,
vtk 4.2 and fltk 1.1.6 under Debian running on a dual 64 bit processor
system.

itk, vtk and fltk build fine. itk Applications will only built with
either vtk or fltk but won't built with the both of them. I get the
error written below.
I know vtk should be built with vtk_use_ansi_stdlib set on, but this
option is not available when I run ccmake.
I use 
c++ 3.3.5
gcc 3.3.5
make 3.8

All help is appreciated

Reinhard

Building object file RegionGrowingSegmentation.o...
/home/khameeteman/kitware/itkapp/Auxiliary/VtkFltk/fltkVTKImageViewer.txx: In
   constructor `fltk::VTKImageViewer<ImagePixelType>::VTKImageViewer() [with
   ImagePixelType = unsigned char]':
/home/khameeteman/kitware/itkapp/Auxiliary/VtkFltk/fltkVTKImageViewer.h:67:
  instantiated from `static
itk::SmartPointer<fltk::VTKImageViewer<ImagePixelType> >
fltk::VTKImageViewer<ImagePixelType>::New() [with ImagePixelType =
unsigned char]'
/home/khameeteman/kitware/itkapp/RegionGrowingSegmentation/RegionGrowingSegmentation.cxx:98:
  instantiated from here
/home/khameeteman/kitware/itkapp/Auxiliary/VtkFltk/fltkVTKImageViewer.txx:79:
error: `
   AddViewProp' undeclared (first use this function)
/home/khameeteman/kitware/itkapp/Auxiliary/VtkFltk/fltkVTKImageViewer.txx:79:
error: (Each
   undeclared identifier is reported only once for each function it appears
   in.)
make[3]: *** [RegionGrowingSegmentation.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_RegionGrowingSegmentation] Error 2
make: *** [default_target] Error 2


More information about the Insight-users mailing list