This information only applies if you want to build Timba prior to svn revision 7155.

Prerequisites (prior to r7155)

Python and friends (only applicable to versions prior to r7155)

If building these from source, then build in the order listed. Debian provides packages for everything, see ../DebianNotes.

http://pyqwt.sourceforge.net/doc5/installation.html#source-code-installation. Be sure to build against the Qt 3 widget set.

Installing VTK (experimental, currently only available prior to r7155)

Note: If you install from the latest VTK source distribution (5.2.1) none of the editing mentioned in the following paragraphs is necessary.

This is for the experimental 3D-viewer plugins. If you'd like to try these plugins, you'll need to install VTK 4 or 5 on your system. Be warned, it is quite the unwieldy monster. Under Debian/Ubuntu, packages are provided, but some of the fixes below may need to be applied:

* (Only with VTK4) There's then a bug in pyvtk that needs to be corrected (at least as of 10/04/2005). Go to /usr/lib/python2.x/site-packages. In the following two files:

* With some versions of PyQt (e.g. PyQt 3.17) and BOTH VTK4 and VTK5, you still need to edit the following lines in QVTKRenderWindowInteractor.py:

* If you are using python2.4 with VTK 4, you need to edit vtk_python/vtk/\_\_helper.py and change line 12

del sys.modules['vtk.%s'%mod_name]

to

try:
  del sys.modules['vtk.%s'%mod_name]
except:
  pass

* VTK uses the GL graphics library to do the actual 3-D displays. Depending on your system you may need to make sure that your linux kernel is using the appropriate device drivers.

* Update for September 2008. I encountered some VTK 5.0 problems when I migrated the VTK code from using numarray to using numpy. Under VTK 5.0 if you select the option to show a 3-D display the VTK render window may try to overwrite the slider control window. This is annoying, but the problem goes away if you float the graphics display window from the meqbrowser. However if your version of linux comes with a VTK 5.2 package, you are in luck - things should work properly and its no longer necessary to do any of the above mentioned editing adjustments to python code. I've added instructions for building VTK5.2 from source to the BuildingTimba/InstallingVtk page.

For more details (including building VTK from scratch), see BuildingTimba/InstallingVtk.

BuildingTimba/RequiredSoftware/OlderVersions (last edited 2009-11-20 10:06:29 by OlegSmirnov)