[vtkusers] Missing headers when compiling Slicer3
bill.lorensen at gmail.com
Sun Dec 9 08:31:29 EST 2007
I've cross-posted this to the slicer developers list.
I don't think that Slicer3 builds against VTK cvs. I believe the recommended
VTK branch is: VTK-5-0.
On Dec 9, 2007 5:58 AM, Peter Wainwright <prw at ceiriog.eclipse.co.uk> wrote:
> I'm trying to compile the latest SVN version of 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:
> error: vtksys/cstddef: No such file or directory
> make: *** [Libs/MRML/CMakeFiles/MRML.dir/vtkMRMLScene.o] Error 1
> error: vtkTemplateAliasMacro.h: No such file or directory
> make: *** [Base/Logic/CMakeFiles/SlicerBaseLogic.dir/vtkImageSlice.o]
> Error 1
> make: *** [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)?
> Peter Wainwright
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> Follow this link to subscribe/unsubscribe:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vtkusers