<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi</tt><br>
    <div class="moz-forward-container">
      <div class="moz-cite-prefix"><tt> </tt><tt><br>
        </tt><tt>In MAC you need to set DYLD_LIBRARY_PATH not PATH.</tt><tt>
          <tt>If this does not solves your problem then post your exact
            error message.<br>
          </tt></tt><br>
        <tt><tt>Hope the following will help you to set the environment
            variables. Here <b>VTK_DIR/lib</b> is a folder that
            contains dynamic libraries(.dll, .so, .dylib).<br>
            <br>
          </tt></tt>
        <meta http-equiv="content-type" content="text/html;
          charset=ISO-8859-1">
        <dt style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
          255);"><u><tt><span class="term"><b>Linux - LD_LIBRARY_PATH
                  (UNIX/Linux only)</b><span
                  class="Apple-converted-space"> <b>(.so files):</b></span></span></tt></u><b><tt><span
                class="term"></span></tt></b></dt>
        <dd style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
          <p><tt>UNIX/Linux systems use these environment variables to
              find dynamically loaded libraries, such as</tt><tt><span
                class="Apple-converted-space">&nbsp;</span></tt><code
              class="filename">libvtkCommon.so</code><tt>.An example of
              setting the library path is as follows:</tt></p>
        </dd>
        <dd style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
          <p><i><tt>export LD_LIBRARY_PATH = $</tt></i><i><tt>LD_LIBRARY_PATH:</tt></i><i><tt>$VTK_DIR/lib</tt></i></p>
          <br>
        </dd>
        <dt><u><b><tt><span class="term">Mac - DYLD_LIBRARY_PATH (Mac OS
                  X only) (.dylib files):<br>
                </span></tt></b></u></dt>
      </div>
      <div class="moz-cite-prefix"><dd style="color: rgb(0, 0, 0);
          font-size: medium; font-style: normal; font-variant: normal;
          font-weight: normal; letter-spacing: normal; line-height:
          normal; orphans: 2; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          background-color: rgb(255, 255, 255);">
          <p><tt>On</tt><tt><span class="Apple-converted-space"> MAC</span></tt><tt>,
              the</tt><tt><span class="Apple-converted-space"> <b><tt><span
                      class="term">DYLD_LIBRARY_PATH</span></tt></b></span></tt><tt><span
                class="Apple-converted-space"> </span></tt><tt>environment

              variable is used to locate the dynamic library</tt><tt>
              files.<br>
            </tt></p>
        </dd>
      </div>
      <pre class="screen" style="color: rgb(0, 0, 40); font-size: 13px;"><i>export DYLD_LIBRARY_PATH = $DYLD_LIBRARY_PATH:$VTK_DIR/lib</i></pre>
      <div class="moz-cite-prefix"><dt style="color: rgb(0, 0, 0);
          font-size: medium; font-style: normal; font-variant: normal;
          font-weight: normal; letter-spacing: normal; line-height:
          normal; orphans: 2; text-indent: 0px; text-transform: none;
          white-space: normal; widows: 2; word-spacing: 0px;
          background-color: rgb(255, 255, 255);"><br>
          <tt><span class="term"></span></tt></dt>
        <dt style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
          255);"><tt><span class="term"><u><b>Windows - PATH (Windows OS
                  Only) (.dll files)</b></u>:<br>
            </span></tt></dt>
        <dd style="color: rgb(0, 0, 0); font-size: medium; font-style:
          normal; font-variant: normal; font-weight: normal;
          letter-spacing: normal; line-height: normal; orphans: 2;
          text-indent: 0px; text-transform: none; white-space: normal;
          widows: 2; word-spacing: 0px; background-color: rgb(255, 255,
          255);">
          <p><tt>On</tt><tt><span class="Apple-converted-space">&nbsp;</span></tt><tt><span
                class="productname">Windows</span></tt><tt>, the</tt><tt><span
                class="Apple-converted-space">&nbsp;</span></tt><b><code
                class="envar">PATH</code></b><tt><span
                class="Apple-converted-space">&nbsp;</span></tt><tt>environment

              variable is used in the same way that</tt><tt><span
                class="Apple-converted-space">&nbsp;</span></tt><code
              class="envar">LD_LIBRARY_PATH</code><tt><span
                class="Apple-converted-space">&nbsp;</span></tt><tt>is used
              on platforms such as Linux. </tt><tt><br>
            </tt></p>
        </dd>
      </div>
      <p><i><tt>set PATH=%PATH;</tt></i><i><tt>VTK_DIR/lib;</tt></i></p>
      <div class="moz-cite-prefix">--<br>
        Sathish<br>
        <br>
        <br>
        On Monday 15 October 2012 02:42 AM, Ricardo Santos wrote:<br>
      </div>
      <blockquote
cite="mid:CAFKnBGQvpAnnTw9DrXdL2baouqFv5xHrD3Y4xtHgJ=S+xGgjRg@mail.gmail.com"
        type="cite">Hello,
        <div><br>
        </div>
        <div>&nbsp; &nbsp; I have just compiled VTK on Mac OS to use with the java
          wrapper, but I am having a problem when trying to work with
          Netbeans.</div>
        <div>&nbsp; &nbsp; I have made the vtk.jar file (successfuly, I believe)
          and can`t run any example or include in my swing form the
          container vtkCanvas, because my Netbeans gives me a classpath
          error, saying the component must be on the classpath of the
          application, however, I did set my PATH environment variable
          to include all the vtk directories.</div>
        <div>&nbsp; &nbsp; I am new to both VTK and Mac OS, so it can be a really
          basic mistake, but I can't shake it off, any ideas?</div>
        <div><br>
        </div>
        <div>Thanks all!</div>
        <div><br>
        </div>
        <div>Ricardo Santos</div>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
Powered by <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kitware.com">www.kitware.com</a>

Visit other Kitware open-source projects at <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a>

Please keep messages on-topic and check the VTK FAQ at: <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtk.org/Wiki/VTK_FAQ">http://www.vtk.org/Wiki/VTK_FAQ</a>

Follow this link to subscribe/unsubscribe:
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
      </blockquote>
      <br>
      <br>
      <br>
    </div>
    <br>
  </body>
</html>