[vtkusers] Missing headers when compiling Slicer3

Bill Lorensen bill.lorensen at gmail.com
Sun Dec 9 08:31:29 EST 2007


Peter,

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.

Bill
On Dec 9, 2007 5:58 AM, Peter Wainwright <prw at ceiriog.eclipse.co.uk> wrote:

> 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
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20071209/6ae1a64e/attachment.htm>


More information about the vtkusers mailing list