[Insight-users] Building ITK and VTK on linux
Lorensen, William E (Research)
lorensen@crd.ge.com
Thu, 16 Jan 2003 21:49:44 -0500
Orfi,
I suspect that ITK will not build witk VTK4.0. 4.0 is about a year old and, if I recall, itk may be
taking advantage of features added shortly after the VTK 4.0 release. We are attempting to
synchronize a vtk 4.2 and itk 1.1 release in the next few weeks. If you can't wait for that, you'll
have to take cvs checkouts of both systems.
Bill
-----Original Message-----
From: Ofri Sadowsky [mailto:ofri@cs.jhu.edu]
Sent: Thursday, January 16, 2003 5:22 PM
To: insight users
Subject: [Insight-users] Building ITK and VTK on linux
Hi,
I am trying to build the Insight 1.0.0 release on a Linux workstation,
where VTK 4.0 has already been installed.
The ITK package without VTK examples is built successfully. But when
I tryo to add the VTK examples - by setting
BUILD_EXAMPLES ON
USE_VTK ON
in ccmake, the build fails on the file
InsightToolkit-1.0.0/Examples/vtkITK/Common/vtkITKMutualInformationTransform.cxx
with many errors. The last of which is
"class vtkITKMutualInformationTransform' has no member named
`Superclass'
/usr/local/erc-share/downloaded-src/itk10/InsightToolkit-1.0.0/Examples/vtkITK/Common/vtkITKMutualInf
ormationTransform.cxx:90:
parse
error before `::' token"
I use gmake and g++/gcc for the compilation. The operating system is
"Red Hat Linux release 8.0 (Psyche)". The error occurs only if both the
above flags are ON. cmake and ccmake do not report any problems.
Please help me find the problems, as I would like to evaluate the use of
VTK and ITK together.
Thanks,
Ofri.
_______________________________________________
Insight-users mailing list
Insight-users@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-users