[vtkusers] Missing headers when compiling Slicer3
Peter Wainwright
prw at ceiriog.eclipse.co.uk
Sun Dec 9 05:58:37 EST 2007
Hi,
I'm trying to compile the latest SVN version of Slicer3
http://www.na-mic.org/Wiki/index.php/Slicer3
using the latest CVS version of VTK. The compilation complains about a
couple of missing headers:
[ 16%] Building CXX object Libs/MRML/CMakeFiles/MRML.dir/vtkMRMLScene.o
In file included
from /usr/local/Vis3/bin/../include/vtk-5.1/vtksys/hash_map.hxx:42,
from /home/prw/src/Slicer3-20071209/Libs/MRML/vtkMRMLScene.h:32,
from /home/prw/src/Slicer3-20071209/Libs/MRML/vtkMRMLScene.cxx:22:
/usr/local/Vis3/bin/../include/vtk-5.1/vtksys/hashtable.hxx:44:43:
error: vtksys/cstddef: No such file or directory
make[2]: *** [Libs/MRML/CMakeFiles/MRML.dir/vtkMRMLScene.o] Error 1
/home/prw/src/Slicer3-20071209/Base/Logic/vtkImageSlice.cxx:27:35:
error: vtkTemplateAliasMacro.h: No such file or directory
make[2]: *** [Base/Logic/CMakeFiles/SlicerBaseLogic.dir/vtkImageSlice.o]
Error 1
make[1]: *** [Base/Logic/CMakeFiles/SlicerBaseLogic.dir/all] Error 2
make: *** [all] Error 2
I have found the same problem in CVS/SVN versions of VTK/Slicer3 for
several months now. I work around the problem by manually "installing"
the header files where Slicer3 expects to find them.
Can you tell me whether these are public headers (in which case VTK
should be fixed to install them) or whether they are internal private
headers (in which case Slicer3 should not be using them)?
Thanks,
Peter Wainwright
More information about the vtkusers
mailing list