<div dir="ltr">Hi James,<div><br></div><div>Please keep the thread on the mailing list so other community members could benefit from your question as well.</div><div><br></div><div>So first of all, why did you turn ON both VTK_JAVA_JOGL_COMPONENT and VTK_JAVA_SWT_COMPONENT?</div><div><br></div><div>Turning any of those option require that you have already the SWT native library or the JOGL library installed on your system. On top of that, none of them is required to have a VTK with Java Wrapping working.</div><div><br></div><div>In fact, you can probably just download the generated binaries from our VTK dashboard if you don't want to build VTK yourself here: </div><div><br></div><div><a href="http://open.cdash.org/index.php?project=VTK&filtercount=1&field1=groupname/string&compare1=63&value1=Super-build" target="_blank">http://open.cdash.org/index.php?project=VTK&filtercount=1&field1=groupname/string&compare1=63&value1=Super-build</a></div><div><br></div><div>Then if you truly want to build VTK and have the JOGL rendering classes available on top of the default ones, then the best approach is to get them using Maven. And you should make sure you provide the path to the proper jar inside your CMake config. (You may need to toggle the advance mode to see them).</div><div><br></div><div>Seb<div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 20, 2014 at 8:49 AM, James Labiak <span dir="ltr"><<a href="mailto:jim@jslengineeringsoftware.com" target="_blank">jim@jslengineeringsoftware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
Hi Seb,<br>
Thanks for picking up on this. I put images of the CMake process
below, also the JOGL source directory files and the JOGL build
directory files. Here are some errors that VS 2013 gives, which is
how I noticed that the JOGL classes were missing from the build
directory structure. If I should be placing JOGL jar files
somewhere, then I'm not sure where to put it(them).<br>
Thanks,<br>
Jim<br>
<br>
386>CUSTOMBUILD : warning : [options] bootstrap class path not
set in conjunction with -source 1.5<br>
386>
C:\vtk_build\java\vtk\rendering\jogl\vtkAbstractJoglComponent.java:3:
error: package javax.media.opengl does not exist<br>
386> import javax.media.opengl.GLAutoDrawable;<br>
<br>
386>
C:\vtk_build\java\vtk\rendering\jogl\vtkJoglPanelComponent.java:5:
error: package javax.media.opengl.awt does not exist<br>
386> import javax.media.opengl.awt.GLJPanel;<br>
<br>
387>
C:\vtk_build\java\vtk\rendering\jogl\vtkJoglCanvasComponent.java:20:
error: cannot find symbol<br>
387> public vtkJoglCanvasComponent(vtkRenderWindow
renderWindow, GLCapabilities capabilities) {<br>
387>
^<br>
387> symbol: class GLCapabilities<br>
387> location: class vtkJoglCanvasComponent<br>
387>
C:\vtk_build\java\vtk\rendering\jogl\vtkJoglPanelComponent.java:3:
error: package javax.media.opengl does not exist<br>
387> import javax.media.opengl.GLCapabilities;<br><span><br>
<br>
<br>
<br>
<div>On 11/19/2014 2:38 PM, Sebastien
Jourdain wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi James,
<div><br>
</div>
<div>What do you mean by JOGL classes? Are you talking about the
JOGL jar files?<br>
</div>
<div>What did you change in your CMake configuration step?</div>
<div><br>
</div>
<div>Seb</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Nov 19, 2014 at 8:40 AM, James
Labiak <span dir="ltr"><<a href="mailto:jim@jslengineeringsoftware.com" target="_blank">jim@jslengineeringsoftware.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <font size="-1">Hello,<br>
I am trying to install vtk with Java wrapping. When I
build in VS 2013, I get errors related to jogl classes
not being found. I placed the missing classes java files
in the vtk\rendering\jogl directories as necessary, but
after CMake Configure and Generate steps, the jogl files
are not being copied to the build directory
Java\rendering\jogl directory and so I get the same
errors upon build in VS 2013. <br>
Thanks<font color="#888888">,</font></font></div>
</blockquote>
</div>
</div>
</blockquote>
<br>
</span><span><blockquote type="cite">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><font size="-1"><span><font color="#888888"> </font></span></font><span><font color="#888888"> </font></span></div>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" target="_blank">http://public.kitware.com/mailman/listinfo/vtkusers</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre cols="72">--
James Labiak
JSL Engineering and Software
6545 Lainhart Rd.
Altamont, NY 12009
Phone: <a href="tel:518-861-1113" value="+15188611113" target="_blank">518-861-1113</a>
Mobile: <a href="tel:231-638-3725" value="+12316383725" target="_blank">231-638-3725</a>
email: <a href="mailto:jim@jslengineeringsoftware.com" target="_blank">jim@jslengineeringsoftware.com</a></pre>
</span></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div></div>