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