[vtkusers] vtk- Help!

Dennis Jen dsjen at cs.unc.edu
Fri Jun 27 07:09:50 EDT 2003


Xin,

It may be that you're not setting your "path" environmental variable (if
you're using windows).  I think I got the same error a while ago when I
didn't set ...\vtk42\bin\vtk.jar

- Dennis

-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On Behalf
Of Xin Zhao
Sent: Friday, June 27, 2003 6:33 AM
To: vtkusers at public.kitware.com
Subject: [vtkusers] vtk- Help!

Dear all,

     I run the vtkPanel.java in JCreator2.5.
    
     Compile is ok, but when I run it. The error message shows as
follow:

     Exception in thread "main" java.lang.UnsatisfiedLinkError:
E:\vtk422\Wrapping\Ja
va\vtkRenderingJava.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1560)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1485)
        at java.lang.Runtime.loadLibrary0(Runtime.java:788)
        at java.lang.System.loadLibrary(System.java:834)
        at vtk.vtkPanel.<clinit>(vtkPanel.java:31)
Press any key to continue...


	I read the code of vtkPanel.java

    System.loadLibrary("vtkCommonJava"); 
    System.loadLibrary("vtkFilteringJava"); 
    System.loadLibrary("vtkIOJava"); 
    System.loadLibrary("vtkImagingJava"); 
    System.loadLibrary("vtkGraphicsJava"); 
    System.loadLibrary("vtkRenderingJava"); 

	Why the first five "loadLibrary" is ok, the last one has error?

    Can you give me any help?

    Thanks!

                                                           zxem 


_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
<http://public.kitware.com/cgi-bin/vtkfaq>
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers




More information about the vtkusers mailing list