<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi,<br>
      <span>&nbsp;&nbsp;&nbsp; The error "vtkRenderingJava.dll: The specified procedure
        could not be found</span>" shows that you are trying to access
      some method which is not found in <span>vtkRenderingJava.dll</span>.<br>
      <br>
      So I think the problem should be in VTK building process. But
      express edition is not a problem, because me too used it without
      any problem.<br>
      <br>
      Try to rebuild the VTK and check any error occurs while
      compilation.<br>
      <br>
      --<br>
      Sathish<br>
      <br>
      <br>
      On Saturday 13 October 2012 01:14 PM, Bhargav patel wrote:<br>
    </div>
    <blockquote
      cite="mid:1350114260.13107.YahooMailNeo@web140003.mail.bf1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:12pt">
        <div><span>Hi Sathish,</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>After setting path
            variable in to environment variable I got the same error</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>So here is the full
            error</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>java.lang.UnsatisfiedLinkError:
            D:\vtk\vtkbin\bin\Release\vtkRenderingJava.dll: The
            specified procedure could not be found<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.ClassLoader$NativeLibrary.load(Native
            Method)<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
            java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1803)<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
            java.lang.ClassLoader.loadLibrary(ClassLoader.java:1728)<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.Runtime.loadLibrary0(Runtime.java:823)<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at java.lang.System.loadLibrary(System.java:1028)<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at ImageTest1.&lt;clinit&gt;(ImageTest1.java:42)<br>
            Could not find the main class: ImageTest1.&nbsp; Program will
            exit.<br>
            Exception in thread "main" Java Result: 1<br>
            BUILD SUCCESSFUL (total time: 0 seconds)</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>and here is the
            snapshots of my code which generate error file name is
            ImageTest1.java</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>I used the version
            called vtk-5.10.0 and i used cmake 2.8.9 and microsoft
            visual C++ 2010 express</span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>do u think that&nbsp; </span><span>microsoft
            visual C++ 2010 express is cause of error because mostly
            people used visual studio <br>
          </span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>I build everything
            under release mode<br>
          </span><span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
          <span></span></div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><span>import vtk.*;<br>
            import vtk.vtkDICOMImageReader;<br>
            <br>
            /**<br>
            &nbsp;*<br>
            &nbsp;* @author bhargav<br>
            &nbsp;*/<br>
            public class ImageTest1&nbsp; {<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp; private vtkDICOMImageReader reader;<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; double[] dataExtent;<br>
            &nbsp;&nbsp;&nbsp;&nbsp; public ImageTest1(){<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp; }<br>
            <br>
            &nbsp;&nbsp;&nbsp; public ImageTest1(vtkDICOMImageReader reader) {<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; this.reader = reader;<br>
            &nbsp;&nbsp;&nbsp; }<br>
            <br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp; static {<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkCommonJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkFilteringJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkIOJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkImagingJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkGraphicsJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkIOJava");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkRenderingJava");<br>
            &nbsp;//&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.loadLibrary("vtkWidgetsJava");<br>
            <br>
            &nbsp;&nbsp;&nbsp; }<br>
            <br>
            &nbsp;&nbsp;&nbsp; public static void main(String args[]){<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; System.out.println("hello");<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ImageTest1 it = new ImageTest1();<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; it.readDicomDir("path");<br>
            <br>
            &nbsp;&nbsp;&nbsp; }<br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; public&nbsp; void readDicomDir(String path) {<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reader = new vtkDICOMImageReader();<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //reader.SetDirectoryName(p/th);<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            reader.SetFileName("F:/diacom/DISCIMG/IMAGES/BRFLAIR");<br>
            <br>
            <br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reader.SetDataScalarTypeToUnsignedShort();<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reader.UpdateWholeExtent();<br>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; reader.Update();<br>
          </span></div>
        <div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; int[] extent = reader.GetOutput().GetWholeExtent();</div>
        <div>System.out.println("Dimention "+extent[1]+" "+extent[3]+"
          "+extent[5]);<br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;">}</div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;"><br>
        </div>
        <div style="color: rgb(0, 0, 0); font-size: 16px; font-family:
          times new roman,new york,times,serif; background-color:
          transparent; font-style: normal;">Thanks for the answer<br>
        </div>
        <div style="font-family: times new roman, new york, times,
          serif; font-size: 12pt;">
          <div style="font-family: times new roman, new york, times,
            serif; font-size: 12pt;">
            <div dir="ltr"> <font face="Arial" size="2">
                <hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
                <a class="moz-txt-link-rfc2396E" href="mailto:kingvsk@aol.com">"kingvsk@aol.com"</a> <a class="moz-txt-link-rfc2396E" href="mailto:kingvsk@aol.com">&lt;kingvsk@aol.com&gt;</a><br>
                <b><span style="font-weight: bold;">To:</span></b>
                Bhargav patel <a class="moz-txt-link-rfc2396E" href="mailto:bhargav57@yahoo.com">&lt;bhargav57@yahoo.com&gt;</a> <br>
                <b><span style="font-weight: bold;">Sent:</span></b>
                Saturday, 13 October 2012 11:59 AM<br>
                <b><span style="font-weight: bold;">Subject:</span></b>
                Re: [vtkusers] Regarding vrkRenderingJava.dll<br>
              </font> </div>
            <br>
            <div id="yiv885752727">
              <div>
                <div class="yiv885752727moz-cite-prefix">Hi<br>
                  <br>
                  If Setting&nbsp; -Djava.lib.path=D:\vtk\vtkbin\bin\Release
                  didn't solve your problem then you need to add vtk
                  D:\vtk\vtkbin\bin\Release to %PATH% environment
                  variable and remove
                  -Djava.lib.path=D:\vtk\vtkbin\bin\Release from
                  Netbeans VM Option. <br>
                  <br>
                  If you get the same problem again (after adding your
                  path to %PATH% env. variable) tell me what version of
                  vtk you are using and post full error message.<br>
                  <br>
                  --<br>
                  Sathish<br>
                  <br>
                  On Saturday 13 October 2012 11:38 AM, Bhargav patel
                  wrote:<br>
                </div>
                <blockquote type="cite">
                  <div
                    style="color:#000;background-color:#fff;font-family:times
                    new roman, new york, times, serif;font-size:12pt;">
                    <div>Hello</div>
                    <div>I have a problem related VtkRenderingjava.dll <br>
                    </div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;">I
                      already add my folder in to netbeans VM option lik</div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;">-Djava.lib.path=D:\vtk\vtkbin\bin\Release</div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;"><br>
                    </div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;">But
                      still it gives unsatisfied llink error</div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;">plz
                      help me in this problem <br>
                    </div>
                    <div style="color:rgb(0, 0, 0);font-size:16px;
                      font-family:times new roman, new york, times,
                      serif;
                      background-color:transparent;font-style:normal;">thanks<br>
                    </div>
                  </div>
                  <br>
                  <fieldset class="yiv885752727mimeAttachmentHeader"></fieldset>
                  <br>
                  <pre>_______________________________________________
Powered by <a moz-do-not-send="true" rel="nofollow" class="yiv885752727moz-txt-link-abbreviated" target="_blank" href="http://www.kitware.com/">www.kitware.com</a>

Visit other Kitware open-source projects at <a moz-do-not-send="true" rel="nofollow" class="yiv885752727moz-txt-link-freetext" target="_blank" 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" rel="nofollow" class="yiv885752727moz-txt-link-freetext" target="_blank" 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" rel="nofollow" class="yiv885752727moz-txt-link-freetext" target="_blank" href="http://www.vtk.org/mailman/listinfo/vtkusers">http://www.vtk.org/mailman/listinfo/vtkusers</a>
</pre>
                </blockquote>
                <br>
              </div>
            </div>
            <br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>