[vtkusers] crash caused by vtkXYPlotActor

Henry Zhang henry.zhang at ualberta.ca
Tue Mar 25 14:44:33 EST 2003


Hello, there,

I tried to use vtkXYPlotActor with Java.
Whenever I instantiate a vtkXYPlotActor
instance, my code crashes.

  vtkXYPlotActor xyplot=new vtkXYPlotActor();  -----> crashes

The error is "java.lang.UnsatisfiedLinkError: VTKInit
              at vtk.vtkXYPlotActor.VTKInit(Native Method)"

I guess I may need to load a library. The libraries I loaded
inlcude
    System.loadLibrary("vtkCommonJava");
    System.loadLibrary("vtkFilteringJava");
    System.loadLibrary("vtkIOJava");
    System.loadLibrary("vtkImagingJava");
    System.loadLibrary("vtkGraphicsJava");
    System.loadLibrary("vtkRenderingJava");
    System.loadLibrary("vtkHybrid");

Can any one help me to fix the problem? thanks in advance. 


Henry



More information about the vtkusers mailing list