<div dir="ltr"><div>Ugh, my latest commit added slightly more sanity checking which caused the mac build to fail because hspeak was built as a 64-bit executable. Interestingly noone has complained about this yet.<br></div><div>Unfortunately while euc 4.0.5+ has an -arch option it's useless, because euphoria packages include either x86 or x86_64 libraries (in bin/), not both. We will need to have two different copies of euphoria on the Mac nightly build VM. This is how I build both 32-bit and 64-bit hspeak on my own machine, if I want to test both.<br></div><div>For this reason the arch= arg to scons doesn't affect hspeak builds at all, instead you have to set PATH and EUDIR.<br></div><div><br></div><div>Also, although there's a x86_64 OSX build of the latest euphoria release <span class="gmail-current-dir">4.1.0-beta2 (<abbr title="2015-02-14 10:13:10 NZDT">2015-02-14)</abbr> available:</span></div><div><span class="gmail-current-dir"><a href="https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0-beta2/euphoria-4.1.0-OSX-x64-57179171dbed.tar.gz/download">https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0-beta2/euphoria-4.1.0-OSX-x64-57179171dbed.tar.gz/download</a></span></div><div><span class="gmail-current-dir"></span></div><div><span class="gmail-current-dir">the last x86 build is only 4.1.0 (<abbr title="2014-02-26 17:11:29 NZDT">2014-02-26):</abbr></span></div><div><span class="gmail-current-dir"><a href="https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/euphoria-4.1.0-OSX-ix86.tar.gz/download">https://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/euphoria-4.1.0-OSX-ix86.tar.gz/download</a></span></div><div><span class="gmail-current-dir"><br></span></div><div><span class="gmail-current-dir">James, could you put the 32-bit euphoria somewhere on the machine and tell me where? Hmm. I guess we could avoid hardcoding the path to it by putting both copies of euc in PATH, using 'which' find both copies, and scanning for one with the desired arch. Preferably in SConscript. Ugh.<br></span></div><div> </div><div><br></div><div>(As a workaround we could initially release only a 64-bit Fufluns build of OHRRPGCE-Custom.app but both 32 and 64 bit versions of OHRRPGCE-Game.app.)<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, 1 Dec 2019 at 15:10, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>James, could you please install the following on the Mac nightly build machine (in either system or user Frameworks dir)?</div><div><a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.dmg" target="_blank">https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-1.2.12.dmg</a></div><div><a href="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.dmg" target="_blank">https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-2.0.4.dmg</a></div><div><a href="https://www.libsdl.org/release/SDL-1.2.15.dmg" target="_blank">https://www.libsdl.org/release/SDL-1.2.15.dmg</a></div><div><a href="https://www.libsdl.org/release/SDL2-2.0.10.dmg" target="_blank">https://www.libsdl.org/release/SDL2-2.0.10.dmg</a></div><div><br></div><div>I think you already should have at least the SDL.framework and SDL_mixer.framework, but just double-checking. Latest versions of both were released 2013-08-17!</div><div><br></div><div>(Those SDL/SDL_mixer 1.2 frameworks have been built as fat binaries, and target OS 10.5+ while we target OS 10.4+, so I guess we will continue to package 32-bit .apps with the wip/mac/frameworks.tar.gz builds we already have. A alternative build of SDL.framework for OS 10.4+ is available but they didn't make one available for SDL_mixer.framework)<br></div><div><br></div><div>I will blindly modify the build scripts to package an 64-bit-only gfx_sdl .app, and ask users to test whether it actually works, because I can't. And also an experimental 64-bit gfx_sdl2 build, though I think that shouldn't become the default until after Fufluns.<br></div><div><br></div><div>As I said before, I think a good solution is to have two different Mac builds:</div><div>-32 bit SDL 1.2 for OS 10.4+<br></div><div>-64 bit SDL 2 for OS 10.6+</div><div>We could then add two different options to the Distribute Game menu.<br></div><div><br></div><div>However, we could also create fat binary 32+64-bit .apps, which are twice the size (OHRRPGCE-Game.app is currently 1.6MB zipped).</div><div>I guess that we could even package 32-bit gfx_sdl and 64-bit gfx_sdl2 builds into a single .app.</div><div>However I think it will be a pain to set up and the number of people using 32-bit Macs is low.</div><div>We have to make similar decisions about SDL 2 on Windows: it only supports Win XP+.<br></div></div>
</blockquote></div>