Difference between revisions of "Compiling on Linux"

From Elite Wiki
(Added Links)
 
(4 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
* You need to set environment variables, then run the makefile.
 
* You need to set environment variables, then run the makefile.
  
All this is nicely scripted in the Github Actions workflow at https://github.com/OoliteProject/oolite/blob/master/.github/workflows/build-all.yml#L59
+
All this is nicely scripted in the Github Actions workflow at https://github.com/OoliteProject/oolite/blob/master/.github/workflows/build-all.yml#L65
 +
 
 +
But 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
 +
 
 +
== Links ==
 +
*[[Installer on Linux]]
 +
*[[Compiling with Clang instead of gcc]]
 +
 
 +
[[Category:Oolite Development]]

Latest revision as of 13:13, 28 October 2025

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.

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

But 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

Links