[Ohrrpgce] [ohrrpgce/ohrrpgce] Figure out compile requirements on MacOS Sequoia (15) (Issue #1281)

James Paige notifications at github.com
Sat Apr 19 11:08:40 PDT 2025


bob-the-hamster left a comment (ohrrpgce/ohrrpgce#1281)

Hmmm... so in the process of trying to track down exactly where the write was failing to the reloadbasic output file, I happened to add a `print(self.file.tell())` and suddenly the bug went away. Super weird! So my build compiles now, but the reloadbasic mystery remains unsolved.

Now the build succeeds, with the following two warnings:
```
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2.framework/SDL2) was built for newer macOS version (10.11) than being linked (10.6)
ld: warning: dylib (/Users/ohrmacdev/Library/Frameworks/SDL2_mixer.framework/SDL2_mixer) was built for newer macOS version (10.11) than being linked (10.6)
```

The custom binary fails with this message
```
ohrmacdev at OHRRPGCEs-MacBook-Pro wip % ./ohrrpgce-custom --help
dyld[52647]: Library not loaded: @rpath/SDL2.framework/Versions/A/SDL2
  Referenced from: <5546FD92-23B3-3E2C-A03E-65ABDD86F2D1> /Users/ohrmacdev/src/ohr/wip/ohrrpgce-custom
  Reason: tried: '/Users/ohrmacdev/src/ohr/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file), '/Users/ohrmacdev/src/ohr/Frameworks/SDL2.framework/Versions/A/SDL2' (no such file)
zsh: abort      ./ohrrpgce-custom --help
```
That error speaks the truth, `/Users/ohrmacdev/src/ohr/Frameworks/SDL2.framework` does not exist, but I am unsure why it is looking there instead of `/Users/ohrmacdev/Library/Frameworks/SDL2.framework`

(passage of time...)

Oh! Okay. `./bundle-apps.sh x86_64 SDL2` does actually give me working apps. Yay!

So I now have a working dev environment on MacOS Sequoia

"Test Game" doesn't work from the bundled app, but maybe that is expected.

Also I don't know if it is possible to create a 32 bit build from this environment or not

-- 
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018
You are receiving this because you are subscribed to this thread.

Message ID: <ohrrpgce/ohrrpgce/issues/1281/2816810018 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20250419/8b69b7be/attachment.htm>


More information about the Ohrrpgce mailing list