Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
These are instructions for compiling GMAT on Linux as a 32-bit application, using command-line tools. Please note that GMAT is not rigorously tested on this platform. If you find bugs, please submit them to JIRA!The instructions below document an old version of the GMAT build procedure.  Current GMAT builds are generated using the Cmake build system, as documented on the Compiling GMAT (CMake Build System) page.
Note

These instructions were copied from Building on Mac. If you see Mac-specific details here (or Linux-specific details missing), please update them.

...

  1. Set the following environment variable:
    PLATFORM=linux
  2. Copy sf/trunk/build/linux32macosx/BuildEnv.mk to sf/src
  3. Edit BuildEnv.mk to set the following variables:
    TOP_DIR: path to the sf directory
    WX_INSTALLED: path to the directory containing wx-config; usually this is the wxGTK-2.8.12/build-gmat directory
    WX_LIB_LOC: path to the directory containing the compiled wx libraries; usually this is the wxGTK-2.8.12/build-gmat/lib directory
    SPICE_DIR: path to the directory containing the cspice directory
    F2C_LOC: path to the directory containing the f2c32 directory
    PCRE_LIB_LOC: path to the PCRE library location; usually pcre-#.##/.libs

...