[vtkusers] Problem in VTK with JAVA on Redhat Linux9
Jeff Lee
jeff at cdnorthamerica.com
Thu Jul 17 06:35:03 EDT 2003
sounds like the jar was built from one distribution, and you are trying
to use it with another version of vtk that you built. if the interface
for vtkRenderWindow changed between versions, then the wrapper may
generate different jni stubs depending on the ordering/number of
methods. in general, vtk.jar is linked intimately to the build because
it calls native methods - you cannot expect to use it with a different
version of vtk.
-Jeff
R K Shyamprakash wrote:
>Hello,
> I have a VTK application written using JAVA wrapper. I have tried
>to run the application on Linux(Redhat 9) but the application does not
>launch and it gives following error(it runs on windows)
>
>Exception in thread "main" java.lang.UnsatisfiedLinkError:
>SetForceMakeCurrent_100
> at vtk.vtkRenderWindow.SetForceMakeCurrent_100(Native Method)
> at vtk.vtkRenderWindow.SetForceMakeCurrent(vtkRenderWindow.java:412)
> at vtk.vtkPanel.addNotify(vtkPanel.java:104)
> at java.awt.Container.addNotify(Container.java:2045)
> at javax.swing.JComponent.addNotify(JComponent.java:4283)
> at java.awt.Container.addNotify(Container.java:2045)
>
>What could be the problem?
>
>Thanks
>Shyam
>
>_______________________________________________
>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