<span style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">
  <p dir="auto">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 <code class="notranslate">print(self.file.tell())</code> and suddenly the bug went away. Super weird! So my build compiles now, but the reloadbasic mystery remains unsolved.</p>
<p dir="auto">Now the build succeeds, with the following two warnings:</p>
<pre class="notranslate"><code class="notranslate">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)
</code></pre>
<p dir="auto">The custom binary fails with this message</p>
<pre class="notranslate"><code class="notranslate">ohrmacdev@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
</code></pre>
<p dir="auto">That error speaks the truth, <code class="notranslate">/Users/ohrmacdev/src/ohr/Frameworks/SDL2.framework</code> does not exist, but I am unsure why it is looking there instead of <code class="notranslate">/Users/ohrmacdev/Library/Frameworks/SDL2.framework</code></p>
<p dir="auto">(passage of time...)</p>
<p dir="auto">Oh! Okay. <code class="notranslate">./bundle-apps.sh x86_64 SDL2</code> does actually give me working apps. Yay!</p>
<p dir="auto">So I now have a working dev environment on MacOS Sequoia</p>
<p dir="auto">"Test Game" doesn't work from the bundled app, but maybe that is expected.</p>
<p dir="auto">Also I don't know if it is possible to create a 32 bit build from this environment or not</p><p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZR5JEBD3VU2WC2YAIT22KGKRAVCNFSM6AAAAABZC32DNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWHAYTAMBRHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZWXXO5YVY5S32NK5A322KGKRA5CNFSM6AAAAABZC32DNKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVH4UOCE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1281/2816810018</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
</span>


<div style="display: flex; flex-wrap: wrap; white-space: pre-wrap; align-items: center; "><img height="20" width="20" style="border-radius:50%; margin-right: 4px;" decoding="async" src="https://avatars.githubusercontent.com/u/3442937?s=20&v=4" /><strong>bob-the-hamster</strong> left a comment <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018">(ohrrpgce/ohrrpgce#1281)</a></div>
<p dir="auto">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 <code class="notranslate">print(self.file.tell())</code> and suddenly the bug went away. Super weird! So my build compiles now, but the reloadbasic mystery remains unsolved.</p>
<p dir="auto">Now the build succeeds, with the following two warnings:</p>
<pre class="notranslate"><code class="notranslate">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)
</code></pre>
<p dir="auto">The custom binary fails with this message</p>
<pre class="notranslate"><code class="notranslate">ohrmacdev@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
</code></pre>
<p dir="auto">That error speaks the truth, <code class="notranslate">/Users/ohrmacdev/src/ohr/Frameworks/SDL2.framework</code> does not exist, but I am unsure why it is looking there instead of <code class="notranslate">/Users/ohrmacdev/Library/Frameworks/SDL2.framework</code></p>
<p dir="auto">(passage of time...)</p>
<p dir="auto">Oh! Okay. <code class="notranslate">./bundle-apps.sh x86_64 SDL2</code> does actually give me working apps. Yay!</p>
<p dir="auto">So I now have a working dev environment on MacOS Sequoia</p>
<p dir="auto">"Test Game" doesn't work from the bundled app, but maybe that is expected.</p>
<p dir="auto">Also I don't know if it is possible to create a 32 bit build from this environment or not</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AMWGWZR5JEBD3VU2WC2YAIT22KGKRAVCNFSM6AAAAABZC32DNKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJWHAYTAMBRHA">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AMWGWZWXXO5YVY5S32NK5A322KGKRA5CNFSM6AAAAABZC32DNKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVH4UOCE.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><ohrrpgce/ohrrpgce/issues/1281/2816810018</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>

<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018",
"url": "https://github.com/ohrrpgce/ohrrpgce/issues/1281#issuecomment-2816810018",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>