Difference between revisions of "Compiling on Linux"

From Elite Wiki
(Created page with "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 subm...")
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
To successfully compile Oolite on Ubuntu some prerequisites are necessary.
 
To successfully compile Oolite on Ubuntu some prerequisites are necessary.
  
You need to have the correct packages installed.
+
* You need to have the correct packages installed.
You need to have the Oolite project including submodules checked out.
+
* You need to have the Oolite project including submodules checked out.
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

Revision as of 10:54, 22 September 2024

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