<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi Seb,<br>
    The JOGL and SWT were red, so I thought that I needed them. I just
    want a standard installation that I can use in Java with Eclipse,
    then be able to distribute a program to another user. With them off,
    the installation seemed to work but a sample java file cone.java
    showed java path errors in Eclipse. I had set CLASSPATH sys var to
    C:\vtk_jar\vtk.jar;C:\vtk_build\Wrapping\Java; and included
    C:\Program Files\VTK\natives-Windows-AMD64 in the PATH variable as
    well as C:\jdk1.7.0_60\bin;C:\jdk1.7.0_60\jre\bin. From the VTK
    user's guide, it sounds like I want an installation with
    BUILD_SHARED_LIBS off for my distribution purpose. When I do that, I
    get tons of errors in VS 2013. Am compiling with 64 bit set in
    CMake. I'm not familiar with Maven, and wasn't sure what to do with
    the binary distribution files.<br>
    Thanks,<br>
    Jim<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 11/20/2014 11:03 AM, Sebastien
      Jourdain wrote:<br>
    </div>
    <blockquote
cite="mid:CABObKxef8a6fN8n47+LUOC9_MH7r_nU=UjV3RzPBFKoO-gq1qw@mail.gmail.com"
      type="cite">
      <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 moz-do-not-send="true"
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
                            moz-do-not-send="true"
                            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
                                        moz-do-not-send="true"
                                        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
                                        moz-do-not-send="true"
                                        href="http://www.kitware.com"
                                        target="_blank">www.kitware.com</a><br>
                                      <br>
                                      Visit other Kitware open-source
                                      projects at <a
                                        moz-do-not-send="true"
                                        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
                                        moz-do-not-send="true"
                                        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 moz-do-not-send="true"
                                        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>
                            </span></div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </div>
              </blockquote>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>