[vtkusers] Newbie needs help. Re:

Luis Velez lrvelez at rcm.upr.edu
Thu Aug 14 16:12:07 EDT 2003


I was loading all the libraries except two.
if I load all the libraries I get this from those two:
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program
Files\vtk42\bin\vtkRenderingJava.dll: Can't find dependent libraries
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1473)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1397)
	at java.lang.Runtime.loadLibrary0(Runtime.java:788)
	at java.lang.System.loadLibrary(System.java:832)
	at MyApp.<clinit>(MyApp.java:39)

the two libraries are:
System.loadLibrary("vtkRenderingJava");
System.loadLibrary("vtkHybridJava");

all the libraries I load are:
  static {
    System.loadLibrary("vtkCommonJava");
    System.loadLibrary("vtkFilteringJava");
    System.loadLibrary("vtkIOJava");
    System.loadLibrary("vtkImagingJava");
    System.loadLibrary("vtkGraphicsJava");
    System.loadLibrary("vtkRenderingJava");
    System.loadLibrary("vtkParallelJava");
    System.loadLibrary("vtkHybridJava");
  }

my class path looks something like this:
%classpath%;.;C:\Program Files\vtk42\bin\vtk.jar;C:\Program
Files\vtk42\bin;C:\j2sdk1.4.1_04\bin;
and my path:
%path%;C:\j2sdk1.4.1_04\bin;C:\Program Files\vtk42\bin;

I did the vtk Binary installation and have not moved any files from where
they fell during installation.

I am really stuck with this and would appreciate any help
Thanks again in advance;
Luis


-----Original Message-----
From: R K Shyamprakash [mailto:ramakrishna.prakash at quest-global.com]
Sent: Monday, August 11, 2003 8:39 PM
To: 'Luis Velez'; vtkusers at vtk.org
Subject: RE: [vtkusers] Newbie needs help.


Luis,
	Have you loaded the vtk libraries?(like System.loadLibrary(".....")) .

--Shyam

-----Original Message-----
From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org]On Behalf Of
Luis Velez
Sent: Tuesday, August 12, 2003 4:09 AM
To: vtkusers at vtk.org
Subject: [vtkusers] Newbie needs help.


Hello,

I have been having been getting this error message:

java.lang.UnsatisfiedLinkError: VTKInit
        at vtk.vtkThinPlateSplineTransform.VTKInit(Native Method)

I really have no idea of what does it mean. If anybody can help me I would
be most grateful.

Thanks,

Luis


_______________________________________________
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