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...")
 
m (Tagged as Oolite Development)
 
(4 intermediate revisions by one other 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
 +
 
 +
 
 +
 
 +
[[Category:Oolite Development]]

Latest revision as of 19:57, 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