Monday, 23 March 2009

AVS/Express on Ubuntu

Ubuntu (Dapper Drake - 6.06 and Hardy Heron - 8.04) doesn't have a modern enough version of Motif/Lesstif for AVS/Express by default. Installing the latest version of OpenMotif will do the trick, but you still need to tell Express where this self-installed OpenMotif is. This didn't bite me until I had to compile and use my own modules within Express so you may not need to do this if you're just using the standard tools.
  • In the Express installation, find the file include/MACHINE/machinc.mk (where MACHINE is your architecture, eg. linux_64).
  • Edit the MOTIF_HOME variable to point at your new OpenMotif installation. The, incorrect, default will be $(X11_HOME).
  • Edit the XMPATH variable to point to the lib directory within your OpenMotif installation if required. This should most likely be $(MOTIF_HOME)/lib.
That's it!

No comments: