[vtkusers] Strange problem.
Christopher M. Navarro
cnavarro at ncsa.uiuc.edu
Tue Nov 4 09:38:22 EST 2003
You should include the following somewhere near the beginning of your
class:
static {
System.loadLibrary("vtkCommonJava");
System.loadLibrary("vtkFilteringJava");
System.loadLibrary("vtkIOJava");
System.loadLibrary("vtkImagingJava");
System.loadLibrary("vtkGraphicsJava");
System.loadLibrary("vtkRenderingJava");
}
regards,
chris
On Tue, 4 Nov 2003, Said. wrote:
>
> Hi ,
>
> In attachement a java class I use to read a mesh file. When I launch it,
> it break immmediately and print the following.
>
> Any idea ?
>
>
>
> java.lang.UnsatisfiedLinkError: VTKInit
> at vtk.vtkPoints.VTKInit(Native Method)
> at vtk.vtkObject.<init>(vtkObject.java:98)
> at vtk.vtkPoints.<init>(vtkPoints.java:166)
> at caiman.vizu.vtk.Reader.readMeshFile(Reader.java:62)
> at caiman.vizu.vtk.Reader.main(Reader.java:172)
More information about the vtkusers
mailing list