[Archive] Problems with VTK under Suse 64 bits

Message by julien:
Hi everbody,
Some users have some problems with the VTK modules in SPIS under 64bits Linux, with typically such kind of error message during the loading process:

Please wait...
Tasks loading123456HereError in ViewPipeLine1: impossible to properly VtkGridBuilder from com.artenum.free.mesh.vtk
Error in vtkGridBuilder: impossible to load the VTK stuff
Error in JavaLib: Impossible to load vtkCommonJava 2
Error in JavaLib: Impossible to load vtkRenderingJava
Error in JavaLib: Impossible to load vtkRenderingJava
Error in JavaLib: Impossible to load vtkIOJava
Error in JavaLib: Impossible to load vtkFilteringJava
Error in JavaLib: Impossible to load vtkGraphicsJava
Error in JavaLib: Impossible to load vtkHybridJava
Error in JavaLib: Impossible to load vtkParallelJava
Error in ViewPipeLine1: Impossible to load the VTK modules
Module ViewPipeLine1 of groups visualisation not operationnal
7Error in ViewPipeLine2: impossible to load VtkGridBuilder from com.artenum.free.mesh.vtk
Impossible to load VTK modules in ViewPipeLine2
Error in ViewPipeLine2: impossible to load VtkGridBuilder from com.artenum.free.mesh.vtk
Impossible to load VTK modules in ViewPipeLine2
8.........................................................
Building of the dependence tree...
Building of the tasks manager.....
Building of the graphical user interface.....
../SpisUI/GUI/resource/SpisMenu.xml
../SpisUI/GUI/resource/SpisToolBar.xml
This means that the JVM cannot load the native layer of VTK (connect through a JNI layer). This is a general problem of multiple intern compliance between:
  • The Java version and origine (e.g SUN or other) used to compile the java layer of SPIS
  • The Java version used to compile the java layer of the JNI layer of VTK both should be the same.
  • The version of VTK (should be 4.2 or 4.4)
  • The version of the compilation of VTK (32 or 64 bits)
  • The fact that all under lying libs (e.g glibc and/or OpenGL) are compiled under the same mode.
I can of problem, please send us:
  • The details of your installation, we mean:
    • version and name of your JVM
    • The OS version and especially if is under 64 or 32 bits
  • Version of VTK
Best, Ju.

Message by Enrico Sain:
Hi Julien,
I reply to this post since my problem is very similar to that one you described here.I’m using the new SPIS version 4.0.00 RC01 with Linux Ubuntu 32 bit. Everything works fine except for Cassandra: when I try to open it I get an exception!
This is the error message I get during the loading process:
…/SpisUI/
Please wait…
Tasks loading…Error in JavaLib: Impossible to load vtkCommonJava
Error in JavaLib: Impossible to load vtkRenderingJava
Error in JavaLib: Impossible to load vtkRenderingJava
Error in JavaLib: Impossible to load vtkIOJava
Error in JavaLib: Impossible to load vtkFilteringJava
Error in JavaLib: Impossible to load vtkGraphicsJava
Error in JavaLib: Impossible to load vtkHybridJava
Error in JavaLib: Impossible to load vtkParallelJava
Error in JavaLib: Impossible to load vtkWidgetsJava

Building of the dependence tree…
Building of the tasks manager… Building of the graphical user interface… …/SpisUI/AuxLibs/Lib/GUI/resource/SpisMenu.xml
…/SpisUI/AuxLibs/Lib/GUI/resource/SpisToolBar.xml
With SPIS 3.7 RC09 and the same operative system I didn’t have any kind of problem.
I would really like to solve this issue. Can you give me an advice?
Best regards,
Enrico

Message by Enrico Sain:
Never mind! I solved the problem modifying the VTK path inside runSpis_JRE1_6_32b.sh!
Regards, Enrico