[slicer-devel] [vtkusers] Missing headers when compiling Slicer3
Peter Wainwright
prw at ceiriog.eclipse.co.uk
Mon Dec 10 13:16:05 EST 2007
On Mon, 2007-12-10 at 09:46 -0500, Steve Pieper wrote:
> Hi Bill, Peter -
>
> Yes, slicer3 is typically built against the VTK-5-0 cvs branch.
>
> I ran a slicer3 build against the vtk head and didn't see any issues.
> Is your build against an install tree or a build tree?
I guess you would say it was against an "install tree"? That is to say
I did "make install" to install all the prerequisite packages in a
common prefix "/usr/local/Vis" and then built Slicer3 for the same
prefix.
After installing those 2 headers Slicer3 built, installed and ran. I
have not used it in anger since the data I am interested in is in an
antique format and I have not been able to load it yet... do you have
any tools for importing the "VoxelView" file format? If not I must
learn how to write an import module myself...
Peter
>
> Good luck,
> Steve
>
> Bill Lorensen wrote:
> > 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
> > <mailto: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
> >
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > slicer-devel mailing list
> > slicer-devel at bwh.harvard.edu
> > http://massmail.spl.harvard.edu/mailman/listinfo/slicer-devel
> > To unsubscribe: send email to slicer-devel-request at massmail.spl.harvard.edu with unsubscribe as the subject
More information about the vtkusers
mailing list