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