compiling gmat-src-R2013a in ubuntu 12.04

Discussion of compilation configuration and issues

compiling gmat-src-R2013a in ubuntu 12.04

Postby pablomadoery » Tue Mar 11, 2014 12:38 pm

I have downloaded the code, enter in the /depends folder and run succesfully the
But when I go to /build folder and run the it throw the error that it cant find folder linux. So I go to the and i put linux64 where it says linux, because that's the folder i actually have. The really problem comes after that because the CMakeLists.txt generated in the /src folder can't find some sources like asset/Groundstation.cpp, command/CallGmatFunction.cpp, command/Global.cpp, command/Save.cpp, spacecraft/Formation.cpp. Is it possible that some of these files
changed its names or that they are not anymore present ?.
Posts: 1
Joined: Tue Mar 11, 2014 12:28 pm

Re: compiling gmat-src-R2013a in ubuntu 12.04

Postby jjkparker » Tue Mar 11, 2014 5:47 pm

That's certainly possible.

There's a couple things going on:

  • We recommend you start from the repository code, instead of the source bundle, as it contains a more complete set of files. You can check out the repository here using SVN. There's a tag available that corresponds to the R2013a release.
  • You're using the CMake-based build system, which is experimental and alpha-level right now. Feel free to try it, but you will probably find issues that need to be corrected. See this page for discussion of the primary and alternate build systems:

Keep in mind that we're mainly tested and maintained in 32-bit mode on Windows, so you may see issues that we haven't addressed on other platforms.
Joel J. K. Parker
Flight dynamics engineer, GMAT team
Posts: 617
Joined: Thu Jan 07, 2010 9:48 pm
Location: NASA Goddard Space Flight Center, Greenbelt, MD

Re: compiling gmat-src-R2013a in ubuntu 12.04

Postby mahdeen » Fri Sep 19, 2014 6:20 am

I managed to get the gmatConsole to compile by adding the "Interface" files that were mentioned in the earlier comments, modifying the paths to the files that have been moved to plugins, and adding "INCLUDE_DIRECTORIES" entries for those plugins. I imagine there's a more elegant way of doing this, but at least it seems to be making progress.
Posts: 1
Joined: Fri Sep 19, 2014 6:15 am

Return to Compiling GMAT

Who is online

Users browsing this forum: No registered users and 2 guests