[Archive] VTK problem

Message by Mike :

Hi,
I was struggling for 3D visualization with VTK, but somehow it just doesnt work. When executing the demo_5 file, I cannot buiild any 3D visualisations, it just gives me an obscure error about a binary library (obviously): The log claims, that libstdc++.so.5 cannot be opened (which is natural, since such a file does indeed not exist on my comupter) from vtkCommonJava.so. I guess that has something to do with my VTK installation under Linux, but I dont know where the problem is. I am using Spis 2.99.05 and the VTK shipped along with the whole package, the paths are set properly (at least to what I have seen in the readme’s).
The rest of the simulation works fine.
Any suggestions?
Thanks for the help in advance
regards
mike


Michael Klicker

Message by Mike:

Hi all,
just an addendum to the message above: I tried to take over a compiled version of VTK from a colleague, but it didnt work. It might have something to do with the fact that I am running RedHat 7.2, whereas VTK seems to run flawlessly on SuSE Linux.
I take it that I have to rebuild VTK, right?
greetings
mike

Michael Klicker

Message by Mike:

Hi all,
the issue was solved, just to tell everybody: It was just my somewhat outdated Linux, I updated to a recent Debian Linux, and it now works perfectly (in case somebody has troubles with VTK: check the needed libraries for the vtk binary)
regards
mike

Michael Klicker

Message by julien:

Hi Mike, Hello everybody,
Generally speaking the VTK layer is very dependent on the low level libraries of your system an dmore especially gclib and Mesa under Linux systems. It is also higly dependent on the version of Java you use. It may be neede to re-compile your VTK package in many cases.
The version released with the last versions of SPIS was checked on Suse and RedHat with the version 2.4 of the kernel. It does work properly. This same version does work under Suse 9.1 with the kernel version 2.6. I have compiled a new version of VTK and I am currently testing it. It should be released soon as patch.
Best,
Ju.