[vtkusers] vtkMarchingCubes and java ?

arnaud garcia arnaud_garcia_fr at yahoo.fr
Wed Sep 18 09:29:34 EDT 2002


The vtkMarchingCubes method is not present in vtk.jar (i try with the release 4.0 and the nightly build) why ?
It is suprising because in %VTK_HOME%\java\vtk there is a file: vtkMarchingCubes.java, so i compile it and create a new jar file.

Java compilation was of course ok, but a runtime i have the traditionnal UnsatisfiedLinkError, meaning that my function can't find the C++ function.

Someone know what is going on with the vtkMarchingCubes function and Java implementation ?

thanks for help,





java.lang.UnsatisfiedLinkError: VTKInit

 at vtk.vtkMarchingCubes.VTKInit(Native Method)

 at vtk.vtkObject.<init>(vtkObject.java:97)

 at vtk.vtkProcessObject.<init>(vtkProcessObject.java:86)

 at vtk.vtkSource.<init>(vtkSource.java:86)

 at vtk.vtkPolyDataSource.<init>(vtkPolyDataSource.java:30)End convertion


 at vtk.vtkStructuredPointsToPolyDataFilter.<init>(vtkStructuredPointsToPolyDataFilter.java:26)

 at vtk.vtkMarchingCubes.<init>(vtkMarchingCubes.java:106)

 at org.hug.uin.irm.SimpleVTK.<init>(SimpleVTK.java:91)

 at org.hug.uin.irm.SimpleVTK.main(SimpleVTK.java:124)

Exception in thread "main"


Yahoo! Mail -- Une adresse @yahoo.fr gratuite et en français !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20020918/fefaad9e/attachment.htm>

More information about the vtkusers mailing list