[vtkusers] Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit on linux

coco beto j_asm1 at hotmail.com
Wed May 31 00:40:38 EDT 2006


vtk 5.0
javac 1.5.0_06
gcc 4.1.0
BUILD_SHARED_LIBS = ON
VTK_USE_RPATH = OFF

with .bashrc exports
export VTK_DIR=/home/jasm/vtk/VTK
export LD_LIBRARY_PATH=$VTK_DIR/bin:$LD_LIBRARY_PATH

compiling and executing Cone.java

jasm at linux:~/vtk/VTK/Examples/Tutorial/Step1/Java> ls
Cone.java
jasm at linux:~/vtk/VTK/Examples/Tutorial/Step1/Java> javac Cone.java
jasm at linux:~/vtk/VTK/Examples/Tutorial/Step1/Java> ls
Cone.class  Cone.java
jasm at linux:~/vtk/VTK/Examples/Tutorial/Step1/Java> java Cone
Exception in thread "main" java.lang.UnsatisfiedLinkError: VTKInit
        at vtk.vtkConeSource.VTKInit(Native Method)
        at vtk.vtkObject.<init>(vtkObject.java:90)
        at vtk.vtkAlgorithm.<init>(vtkAlgorithm.java:238)
        at vtk.vtkPolyDataAlgorithm.<init>(vtkPolyDataAlgorithm.java:58)
        at vtk.vtkConeSource.<init>(vtkConeSource.java:114)
        at Cone.main(Cone.java:33)

is VTKInit() a method that is declared but not implemented in 
vtk.vtkConeSource class ?
the build failed in some way?
i don't know what to do...
can you help me please.?

_________________________________________________________________
Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! 
http://latino.msn.com/entretenimiento/




More information about the vtkusers mailing list