...
- Download wxGTK 2.8.12 from http://wxwidgets.org.
- Unzip and untar the downloaded file.
- In a Terminal, run the following commands from the new
wxGTK-2.8.12
directory (replacing/path/to/wxGTK-2.8.12
with the absolute path to yourwxGTK-2.8.12
directory):
chmod a+x ./configuremkdir build-gmat
cd build-gmat../configure --prefix=/path/to/wxGTK-2.8.12/build-gmat --with-opengl
- Run
make
to compile the wxGTK libraries:make
- Run
make install
to install the libraries and correctly set install paths. This is necessary due to bug GMT-3021.make install
...
- Set the following environment variable:
PLATFORM=linux
- Copy
sf/trunk/build/macosxlinux32/BuildEnv.mk
tosf/src
- Edit
BuildEnv.mk
to set the following variables:TOP_DIR
: path to thesf
directoryWX_INSTALLED
: path to the directory containingwx-config
; usually this is thewxGTK-2.8.12/build-gmat
directoryWX_LIB_LOC
: path to the directory containing the compiled wx libraries; usually this is thewxGTK-2.8.12/build-gmat/lib
directorySPICE_DIR
: path to the directory containing thecspice
directoryF2C_LOC
: path to the directory containing thef2c32
directoryPCRE_LIB_LOC
: path to the PCRE library location; usuallypcre-#.##/.libs
...