[vtkusers] VTK4 + Cygwin + Java, runtime error

Julian Yu-Chung Chen ycc at nchc.gov.tw
Sun Jan 6 20:51:03 EST 2002


Previouts, I couldn't made the dlls. And I got some help telling me that 
I should use the
path: $JRE/lib for jawt library path. Thanks for help! :-)
Now I made *Java.dll *dll, and  place them in system execution path.
But in execution runtime, I got this,
--
(09:47am Mon Jan  7)-(tmp)
$ make simple
/usr/local/java/jdk1.3.1_01/bin/java -classpath 
"./class;D:\Tmp\VTK.build\java" SimpleVTK
java.lang.UnsatisfiedLinkError: VTKInit
        at vtk.vtkRenderWindow.VTKInit(Native Method)
        at vtk.vtkObject.<init>(vtkObject.java:97)
        at vtk.vtkWindow.<init>(vtkWindow.java:166)
        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" make: *** [simple] Error 1
(09:47am Mon Jan  7)-(tmp)
$
--
I guess it should be some setup problems, paths or dll file naming. But 
still cannot figure it out.
Any ideas?  Thanks in advance!

regards,




More information about the vtkusers mailing list