Difference between revisions of "Compiling on Linux"

From Elite Wiki
Line 5: Line 5:
 
* You need to set environment variables, then run the makefile.
 
* 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
 
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:
+
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?
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
 
https://bb.oolite.space/viewtopic.php?p=206706#p206706

Revision as of 09: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