Fox-toolkit

From Manta

Building the Fox GUI Toolkit for use with Manta

Fox is a powerful GUI toolkit distributed under the LGPL license. The code builds on many different platforms including Irix, MacOS and Linux.

If you are using a SCI Institute computer system or a system at SGI you can use an existing build from a fileserver and avoid having to do any of this yourself.

1.) Download a distribution from http://www.fox-toolkit.org/download.html

Manta has only been tested with version 1.5.4.

2.) Uncompress the tar.gz file.

3.) Run the configure script.

Enter the distribution directory:

cd fox-1.5.4

For example:

./configure --prefix=/home/sci/abe/build-itanium --disable-shared

These build instructions assume that you will use the static libraries. In some cases on ia64 the shared libraries are necessary and --enable-shared should be used instead.

Take note of the prefix you use. You'll need to set a cmake variable to its value.

4.) Build and install.

make
make install

5.) Run Fox tests.

There are a large number of example programs which demonstrate toolkit functionality in the tests/ directory. Try running the gltest:

cd tests
./gltest

You should see a window like this:

Image:wiki-fox-gltest.png

6.) Look for installed headers and library.

Static libraries should be in the lib/ directory off the prefix you specified.

[abe@fisher ~/build-itanium]$ ls lib/lib{FOX,CHART}-1.5*
lib/libCHART-1.5.a   lib/libCHART-1.5.lai  lib/libFOX-1.5.la
lib/libCHART-1.5.la  lib/libFOX-1.5.a      lib/libFOX-1.5.lai

Headers should be in the include/fox-1.5 directory.

[abe@fisher ~/build-itanium]$ ls -1 include/fox-1.5/ | head
fx3d.h
FX4Splitter.h
FX7Segment.h
...

Special cases:

There are a handful of special cases for building fox on different platforms.

Fox-toolkit.org Install notes. (http://www.fox-toolkit.org/install.html|)

Make sure that you use a 64 bit build if you expect to run any serious datasets with manta.