<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br class="webkit-block-placeholder"></div><div>Those instructions are a little old -- I think the vtk.jar file really should be built automatically when you build VTK as long as you have turned the VTK_WRAP_JAVA to ON in ccmake.</div><div><br class="webkit-block-placeholder"></div><div>Did VTK seem to build okay? If so, did you check in the ./bin directory and see if vtk.jar was generated?</div><div><br class="webkit-block-placeholder"></div><div>(There are more detailed instructions for building VTK are in the README.html file in the root directory of the source code you downloaded, although there is not a lot specific to the Java wrappers.)</div><div><br class="webkit-block-placeholder"></div><div>-Eric</div><div><br class="webkit-block-placeholder"></div><div>------------------------------------------------------<br>Eric E Monson<br>Duke Visualization Technology Group</div><div><br class="webkit-block-placeholder"></div><div><br><div><div>On Mar 1, 2008, at 7:49 AM, Clemens Heinrich wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Hi!<br>I am trying to compile vtk with java support on ubuntu 7.10 as described in<br><span><a target="_blank" href="http://www.duke.edu/%7Eiwd/howto/VTK-Linux-Java_HOWTO.html">http://www.duke.edu/~iwd/howto/VTK-Linux-Java_HOWTO.html</a>.</span><br><br>When I follow the step below "Building the jar":<br><li><code>cd java/</code></li><li><code>mkdir classes/</code></li><li><code>javac -d classes/ vtk/*.java</code></li><br>The javac prints these errors (middle of the output is skipped):<br><br>vtk/vtkVisibilitySort.java:54: cannot find symbol<br>symbol : class vtkCamera<br>location: class vtk.vtkVisibilitySort<br> private native void SetCamera_11(vtkCamera id0);<br> ^<br>vtk/vtkVisibilitySort.java:55: cannot find symbol<br>symbol : class vtkCamera<br>location: class vtk.vtkVisibilitySort<br> public void SetCamera(vtkCamera id0)<br> ^<br>vtk/vtkVisibilitySort.java:58: cannot find symbol<br>symbol : class vtkCamera<br>location: class vtk.vtkVisibilitySort<br> private native vtkCamera GetCamera_12();<br> ^<br>vtk/vtkVisibilitySort.java:59: cannot find symbol<br>symbol : class vtkCamera<br>location: class vtk.vtkVisibilitySort<br> public vtkCamera GetCamera()<br> ^<br>vtk/vtkVTKJavaHybridDriver.java:11: cannot find symbol<br>symbol : class vtk3DSImporter<br>location: class vtk.vtkVTKJavaHybridDriver<br> dummy = new vtk3DSImporter();<br> ^<br>vtk/vtkVTKJavaHybridDriver.java:12: cannot find symbol<br>symbol : class vtkArcPlotter<br>location: class vtk.vtkVTKJavaHybridDriver<br> dummy = new vtkArcPlotter();<br> ^<br>...<br>vtk/vtkVTKJavaRenderingDriver.java:69: cannot find symbol<br>symbol : class vtkProp3DCollection<br>location: class vtk.vtkVTKJavaRenderingDriver<br> dummy = new vtkProp3DCollection();<br> ^<br>100 errors<br><br>What can be the reason why vtkCamera.java and several other files don't exist?<br><span>I downloaded the sources tarball<a target="_blank" href="http://www.vtk.org/files/release/5.0/vtk-5.0.4.tar.gz">http://www.vtk.org/files/release/5.0/vtk-5.0.4.tar.gz</a>. Several *.java files are generated only during the make process, and are not present in the sources initially. Which make step generates these *.java, and how can I find out why some required files a not generated?<br><br>Thank you<br>Clemens<br></span></div></div><br><hr size="1">Looking for last minute shopping deals?<span class="Apple-converted-space"> </span><a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping">Find them fast with Yahoo! Search.</a>_______________________________________________<br>This is the private VTK discussion list.<span class="Apple-converted-space"> </span><br>Please keep messages on-topic. Check the FAQ at:<a href="http://www.vtk.org/Wiki/VTK_FAQ">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">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></span></blockquote></div><br></div></body></html>