[vtkusers] Wrapping my own VTK classes in Java / Error at runtime

Sebastien Jourdain jourdain at artenum.com
Mon Feb 4 12:06:18 EST 2008


Hi all,

I'm currently working on a new reader for VTK and it seem to work find 
in C++ but when I wrap it in Java, I get a runtime error.

Exception in thread "main" java.lang.UnsatisfiedLinkError: 
.../libAAAAJava.so: .../libAAAA.so: undefined symbol: 
_ZN12vtkAlgoritm8RegisterEP13vtkObjectBase
After some decoding its something about: 
vtkAlgorithm::Register(vtkObjectBase*)

I'm working with VTK 5.1 from the CVS (Date: 2008-01-03)

What I've done wrong in my code ? I've put BTX/ETX around non VTK 
objects declaration in the header file only. Did I miss a declaration ? 
My reader extends vtkMultiGroupDataSetAlgorithm and I've put 
VTK_IO_EXPORT before my class name.

Regards,

Seb




More information about the vtkusers mailing list