Compiling on Linux

From Elite Wiki
Revision as of 09:53, 22 September 2024 by Hiran (talk | contribs)

To successfully compile Oolite on Ubuntu some prerequisites are necessary.

  • You need to have the correct packages installed.
  • You need to have the Oolite project including submodules checked out.
  • You need to set environment variables, then run the makefile.

Positive: All this is nicely scripted in the Github Actions workflow at https://github.com/OoliteProject/oolite/blob/master/.github/workflows/build-all.yml#L65

Negative: There is still an issue that Oolite will rely on a number of system-provided libs and thus may file if run on other Linux flavors. Here is how it was solved in the past. Maybe someone can recreate a similar setup in Github? https://bb.oolite.space/viewtopic.php?p=206706#p206706