Troubleshooting - Linux
Troubleshooting - Linux
1.I got a trouble when executing my python script with 'vtkpython' command. The script is running ok, but the problem is that after the renderWindow is shown up, we can not stopping it with Ctrl+C as normal. What I did is that I have to close the command window and it wastes of time when we try to execute several times.
•I rebuilt VTK with COCOA support (instead of CARBON) and the problem seems to be fixed: vtkpython opens perfectly healthy looking windows that kind be closed by pressing on the red button and resized arbitrarily.
•Or dirty way:
i.Ctrl-z (job suspended
ii.kill %1>
iii.(assuming that vtkpython is the only currently suspended job).
iv.That is annoying but at least you do not have to kill the terminal window.
2.If you got vtk to get compiled, and installed, but u are unable to run vtk since it complains it cant find libraries, here is a tip:
•add /usr/local/lib/vtk-5.4 as a new line to /etc/ld.so.conf and do sudo ldconfig. The libraries that vtk generated will now be in the library path and you should be good to go.
Information provided by Peter Kristof (pkristof@purdue.edu)