[vtkusers] UnsatisfiedLinkError ( vtkInit )

Jeff Lee jeff at cdnorthamerica.com
Thu Feb 7 14:44:12 EST 2002


Are all these libs in your LD_LIBRARY_PATH or equivalent on win?

David Zwarg wrote:

>Okay, so that doesn't work either.  The same problem comes up, even when
>loading the libraries individually.  Still can't find vtkInit.
>
>  static { 
>    System.loadLibrary("vtkCommonJava"); 
>    System.loadLibrary("vtkFilteringJava"); 
>    System.loadLibrary("vtkIOJava"); 
>    System.loadLibrary("vtkImagingJava"); 
>    System.loadLibrary("vtkGraphicsJava"); 
>    System.loadLibrary("vtkRenderingJava"); 
>  }
>
>All these libraries load, but there is STILL a vtkInit link error.  Even
>when I include vtk.jar in the classpath.
>
>bemused.
>
>David Zwarg
>Intrumentation Engineer
>510.291.6159
>
>-----Original Message-----
>From: Jeff Lee [mailto:jeff at cdnorthamerica.com]
>Sent: Thursday, February 07, 2002 4:14 AM
>To: David Zwarg
>Cc: Vtk (E-mail)
>Subject: Re: [vtkusers] UnsatisfiedLinkError ( vtkInit )
>
>
>There is no more libvtkJava as of vtk4.0.  The libraries are loaded 
>individually now - see Wrapping/Java/vtkPanel.java
>-Jeff
>
>David Zwarg wrote:
>
>>I saw the threads regarding the inclusion of vtkJava to resolve:
>>
>>java.lang.UnsatisfiedLinkError: VTKInit
>>       at vtk.vtkRenderWindow.VTKInit(Native Method)
>>       at vtk.vtkObject.<init>(vtkObject.java:97)
>>       at vtk.vtkWindow.<init>(vtkWindow.java:146)
>>       at vtk.vtkRenderWindow.<init>(vtkRenderWindow.java:350)
>>       at vtkPanel.<init>(vtkPanel.java:10)
>>       at SimpleVTK.<init>(SimpleVTK.java:18)
>>       at SimpleVTK.main(SimpleVTK.java:48)
>>Exception in thread "main" 
>>
>>But there is no vtkJava library in the latest d/l from the site.  Is this
>>only a linux/unix thing?  I'm runing the win binary pre-compiled.  Just
>>downloaded it and it doesn't work.
>>
>>Is vtkJava named something else?  Is it missing?
>>
>>David Zwarg
>>Intrumentation Engineer
>>510.291.6159
>>_______________________________________________
>>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://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
>





More information about the vtkusers mailing list