[vtkusers] vtkPanel class file in package occurs run-time err or

Gopalakrishnan, Gowri Gowri.Gopalakrishnan at inteq.com
Fri Jan 3 04:45:55 EST 2003


Since the native interface files have their headers pre-defined by vtk
already (such as the package etc) you cannot pack them into a different
package.

The native codes will not have your new package names in the header and
hence they cannot be called. If you really must have a different package etc
then

You must regenerate all the native interface header files for all the java
classes (see the java.sun.com tutorial for more details on native interface
)

 

Regards

Gowri

 

 

-----Original Message-----
From: Ivan Kuo [mailto:kch90 at dvis.cs.ccu.edu.tw] 
Sent: Thursday 02 January 2003 05:32 
To: vtk users
Subject: [vtkusers] vtkPanel class file in package occurs run-time error

 

 

Hi all,

    I'm trying to packet my vtk java class files and the vtkPanel class file
into a directory, so I add "package project;" to the vtkPanel.java and my
vtk java files. But i got a run-time error (below) when executing. However,
It is executable without package the vtkPanel file.

 

Exception in thread "main" java.lang.UnsatisfiedLinkError: SetSizeInternal
        at project.vtkPanel.SetSizeInternal(Native Method)
        at project.vtkPanel.setSize(vtkPanel.java:58)
        at project.isoSurface.<init>(isoSurface.java:53)
        at project.isoSurface.main(isoSurface.java:303)

Any help is appreciated!

 

Ivan Kuo  

kch90 at cs.ccu.edu.tw <mailto:kch90 at cs.ccu.edu.tw> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20030103/d7826d60/attachment.htm>


More information about the vtkusers mailing list