Compiling R2014a on XUbuntu 14.10 64 bit

Discussion of compilation configuration and issues

Compiling R2014a on XUbuntu 14.10 64 bit

Postby sattracker » Wed Dec 03, 2014 5:52 pm

These are my notes on successfully compiling the git version of R2014a on XUbuntu 14.10 64bit.

Step 1: git clone
Code: Select all
git clone -b R2014a git://git.code.sf.net/p/gmat/git gmat-git


Step 2: configure dependencies
Code: Select all
cd gmat-git/depends
./configure.sh -p ../..//gmat-git/


Step 3: fix CMakeLists
Several CMakeLists are missing files.
Comment out "view/Editor.cpp" in "gmat-git/src/gui/CMakeLists.txt"
Add the following lines to "gmat-git/src/base/CMakeLists.txt" after "solarsys/SpecialCelestialPoint.cpp"
Code: Select all
     parameter/IncomingAsymptoteParameters.cpp
     parameter/DelaunayParameters.cpp
     parameter/AttitudeRvector.cpp
     util/AttitudeConversionUtility.cpp
     parameter/RvectorVar.cpp
     parameter/AlternateEquinoctialParameters.cpp
     parameter/PlanetodeticParameters.cpp
     parameter/OutgoingAsymptoteParameters.cpp
     parameter/ModEquinoctialParameters.cpp
     util/ColorDatabase.cpp
     parameter/BrouwerMeanShortParameters.cpp
     parameter/BrouwerMeanLongParameters.cpp
     attitude/NadirPointing.cpp
     util/SPADFileReader.cpp
     attitude/PrecessingSpinner.cpp
     attitude/CCSDSAttitude.cpp
     util/CCSDSAEMReader.cpp
     util/CCSDSEMReader.cpp
     util/CCSDSAEMQuaternionSegment.cpp
     util/CCSDSAEMEulerAngleSegment.cpp
     util/CCSDSEMSegment.cpp
     util/CCSDSAEMSegment.cpp

Add the following lines to "gmat-git/src/gui/CMakeLists.txt":
Code: Select all
     subscriber/GroundTrackPlotPanel.cpp
     view/ScriptEditor.cpp
     foundation/GmatColorPanel.cpp


Step 4: cmake
The "build.sh" script in "gmat-git/build" did not work, so I ran "cmake -G "Unix Makefiles" -D 64_BIT=true ../src" manually.

Step 5: make
Run "make" (obviously). Use "-j4" to compile 4 jobs in parallel.

I have yet to figure out how to compile the plugins.
sattracker
 
Posts: 1
Joined: Mon Dec 01, 2014 10:57 pm

Return to Compiling GMAT

Who is online

Users browsing this forum: No registered users and 5 guests

cron