Building on modern macos/xcode versions

Discussion and announcements regarding the Mac port… er, original version of Oolite.

Moderators: winston, another_commander

sharpenedblade
Competent
Competent
Posts: 34
Joined: Thu Nov 09, 2023 11:05 pm

Re: Building on modern macos/xcode versions

Post by sharpenedblade »

The docs for older spidermonkey versions got lost somewhere along the way, so I gave up on porting it. It needs someone with a lot more C/C++ experience. Now I'm trying to build with macos 10.14 in a VM, but im busy with life so im going get back to it over the weekend. I need to make a new macos VM since I accidentally deleted the old one.

Also, it took me ~30 minutes to get spidermonkey to build on linux, windows, and macos, so I dont think thats a problem anymore. Most of the time was just waiting for deps to download.
User avatar
Cholmondely
Archivist
Archivist
Posts: 6394
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Building on modern macos/xcode versions

Post by Cholmondely »

sharpenedblade wrote: Thu Nov 30, 2023 7:59 am
The docs for older spidermonkey versions got lost somewhere along the way, so I gave up on porting it. It needs someone with a lot more C/C++ experience. Now I'm trying to build with macos 10.14 in a VM, but im busy with life so im going get back to it over the weekend. I need to make a new macos VM since I accidentally deleted the old one.

Also, it took me ~30 minutes to get spidermonkey to build on linux, windows, and macos, so I dont think thats a problem anymore. Most of the time was just waiting for deps to download.
Did it work? Did the OXPs work with it?

And are you still playing on an AppleMac?
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
sharpenedblade
Competent
Competent
Posts: 34
Joined: Thu Nov 09, 2023 11:05 pm

Re: Building on modern macos/xcode versions

Post by sharpenedblade »

It failed miserably, when compiling clang segfaulted for some reason. I didn't even want to try to figure out what happened since its definitely something deep in the internals of how clang parses legacy code. Also I installed linux on my mac so I don't even have modern macos to test anymore.
User avatar
Cholmondely
Archivist
Archivist
Posts: 6394
Joined: Tue Jul 07, 2020 11:00 am
Location: The Delightful Domains of His Most Britannic Majesty (industrial? agricultural? mainly anything?)
Contact:

Re: Building on modern macos/xcode versions

Post by Cholmondely »

sharpenedblade wrote: Wed Jul 23, 2025 7:12 am
... I installed linux on my mac so I don't even have modern macos to test anymore.
Which version of Linux did you install? Was it difficult?

Hiran was good enough to talk me through installing Ubuntu on mine (running on top of VirtualBox), but it never operated very satisfactorily - Oolite was only playable in a tiny window and stuttered horrendously.
Comments wanted:
Missing OXPs? What do you think is missing?
Lore: The economics of ship building How many built for Aronar?
Lore: The Space Traders Flight Training Manual: Cowell & MgRath Do you agree with Redspear?
sharpenedblade
Competent
Competent
Posts: 34
Joined: Thu Nov 09, 2023 11:05 pm

Re: Building on modern macos/xcode versions

Post by sharpenedblade »

Which version of Linux did you install?
Fedora on bare metal. I have a t2 (2018-2020 intel) mac so it needed a patched kernel and stuff, but after installing it works the same as a normal linux install. I think using a normal distro works on older intel macs without any patches, you can just download the ISO and install.
Was it difficult?
It should be pretty easy now, you just press a few buttons in the gui partitioning screen and everything mostly just works. Disclaimer: I maintain t2linux support for Fedora.
Hiran was good enough to talk me through installing Ubuntu on mine (running on top of VirtualBox), but it never operated very satisfactorily - Oolite was only playable in a tiny window and stuttered horrendously.
VMs usually don't have graphics acceleration, so any gui stuff is really slow. There are some hacky methods to get opengl acceleration in qemu, but they don't work on macos hosts. On my install thats running on real hardware it works fine and I haven't noticed any lag, even with a lot of OXPs.
Post Reply