[vtkusers] compiling VTK on linux

Liam K quantum.leaf at googlemail.com
Fri Apr 18 11:28:51 EDT 2008


On Fri, Apr 18, 2008 at 3:17 PM, David Gobbi <david.gobbi at gmail.com> wrote:

> AFAIK the debian distribution of VTK does not come with java support,
> so switching away from Ubuntu is not going to help Liam at all.
>
> Ubuntu may not come with VTK binaries, but it has all of the VTK
> dependencies.  Liam will have to install all of the sun-java6 packages
> as well as cmake and the dev packages for tcl, tk, etc. but the
> process should be straightforward once all the dev packages are there.
>
> Anyone out there with experience specifically in installing VTK-java
> on ubuntu?  The last time that I did it was a couple years ago, so I'm
> a little rusty.
>
>   David
>
>
> On Fri, Apr 18, 2008 at 10:00 AM, Oleksandr Dzyubak <adzyubak at gmail.com>
> wrote:
> > Hi Liam,
> >
> >  Ubuntu is based on and derived from Debian.
> >  Since you are using Ubuntu anyway,  I would recommend you
> >  to install Debian Lenny on your Linux box.
> >  Lenny has Cmake, Make, ITK,  VTK,  wxWidgets, FLTK, QT(3/4),  Perl,
>  Tcl/Tk
> >  and all what you might need for your development in their repository as
> >  binary pre-built packages thus it works right out of the box.
> >  Since you are Ubuntu (meaning Debian) user
> >  you know how to install needed packages and satisfy all dependencies.
> >
> >  The good thing is that if you do that, it will save you a lot of time
> and
> > efforts
> >  you might spent on first compiling the distribution packages
> themselves,
> >  latter examples, and finally "dependency hell" when you will start
> >  "putting all together" in your own application.
> >
> >  Hope it helps,
> >
> >  Alex
> >
> >
> >  Liam K wrote:
> >
> > >
> > >
> > >
> > > Hi,
> > >
> > > I'm looking for some help in compiling VTK+. I'm hoping to use it with
> the
> > java wrapping for a medical data visualisation project.
> > >
> > > I'm finding just compiling VTK on my linux box (ubuntu) to be much
> more
> > difficult than i expect.
> > > So far i have install cmake and set various option and generated the
> make
> > file.
> > >
> > > When I run the make file however i get:
> > >
> > > zoizoi at mangoNupheus:/usr/local/VTK$ make
> > > [  0%] Built target vtkParseJava
> > > [  0%] Built target vtkWrapJava
> > > [  0%] Built target vtksys
> > > [  0%] Building CXX object
> > Common/CMakeFiles/vtkCommon.dir/vtkDataArraySelection.o
> > > /usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: ISO C++
> forbids
> > declaration of 'vector' with no type
> > > /usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: invalid use
> of
> > '::'
> > > /usr/local/VTK/Common/vtkDataArraySelection.cxx:27: error: expected
> ';'
> > before '<' token
> > >
> > > ...and then a long long list of errors which it's probably not worth
> > posting. This is VTK 5.0.4
> > >
> > > i have no idea what's causing this as my knowledge of C++ is pretty
> > limited. Is there some configure option i need to set to get the
> compiler to
> > be less stringent or something?
> > >
> > > hope someone can help as i need to get working on this project asap.
> > >
> > > Liam
> > >
> > >
> ------------------------------------------------------------------------
> > >
> > > _______________________________________________
> > > 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
> > >
> > >
> >
> >  _______________________________________________
> >  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/20080418/d50ee24f/attachment.htm>


More information about the vtkusers mailing list