<div dir="ltr">I do like the idea of bundling the libsdl[2].so and libsdl[2]_mixer.so with linux distributions. That seems like it may be the most correct way to handle those dependencies.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 26, 2020 at 8:05 AM Ralph Versteegen <<a href="mailto:teeemcee@gmail.com">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>The 32/64 bit Linux build failed again. It looks like the VMs have libsdl2 2.0.3 or earlier.</div><div>I suppose we should build the releases with "scons sdl203=1" to target 2.0.3 instead of 2.0.5, that'll make them more likely to run (e.g. on Ubuntu 16.04). Right now the features enabled when targeting 2.0.5 are quite minor, so it doesn't seem worth it.<br></div><div><br></div><div>If we link to libsdl at runtime, then we could get the best of all worlds by using SDL features only if present.<br></div><div>Another idea is to eventually include libsdl[2].so and libsdl[2]_mixer.so with games packaged for linux.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 27 Nov 2020 at 00:29, James Paige <<a href="mailto:Bob@hamsterrepublic.com" target="_blank">Bob@hamsterrepublic.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="auto">Aha! Interesting!<div dir="auto"><br></div><div dir="auto">So do I need to upgrade Freebasic on any of the VMs? Or should we stick with the version we have now?</div><div dir="auto"><br></div><div dir="auto">---</div><div dir="auto">James</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed., Nov. 25, 2020, 10:31 p.m. 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">Oh wait, I could just restore a  working ohrrpgce-player-win-wip-sdl2.zip from the archive too. Done.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 26 Nov 2020 at 16:28, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" rel="noreferrer" 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>I deleted the bad ohrrpgce-player-win-wip-sdl2.zip from the nightly folder.</div><div>I also forgot to mention that a while ago I restored the obsolete gfx_directx+sdl ohrrpgce-player-win-wip.zip build from the archive, it had been overwritten with a gfx_sdl2 build<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 26 Nov 2020 at 16:20, Ralph Versteegen <<a href="mailto:teeemcee@gmail.com" rel="noreferrer" 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>Whoops, yes, turns out all the nightly build VMs are running old versions of FB.</div><div>I had mistakenly thought they were working on Windows because I saw ohrrpgce-player-win-wip-sdl2.zip was uploaded, but it turns out it was uploaded without game.exe.</div><div>Rather than having to update all the FB installs is a pain so what I'll do instead is just define the functions ourselves if they're missing from the headers. Whether the functions appear in the FB headers tells nothing about whether the libraries installed on the system actually provide the functions anyway.</div>I guess we'll target SDL 2.0.5 on Linux for now.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 26 Nov 2020 at 14:15, James Paige <<a href="mailto:Bob@hamsterrepublic.com" rel="noreferrer" target="_blank">Bob@hamsterrepublic.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>Ah, actually, that was all builds, not just linux builds.</div><div>Maybe forgot to check in a new file?<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 23, 2020 at 4:29 PM James Paige <<a href="mailto:Bob@hamsterrepublic.com" rel="noreferrer" target="_blank">Bob@hamsterrepublic.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>Looks like recent changes to the gamepad support broke compiling in Linux.</div><div><br></div><div>Seems to have started with commit:</div><div><br></div><div>gfx_sdl2: Use SDL's GameController API to read fixed-meaning buttons/axes if possible</div><div><br></div><div>(svn revision 12079)<br></div><div><br></div><div>gfx_sdl2.bas(985) error 41: Variable not declared, SDL_JoystickGetDeviceInstanceID in 'SDL_JoystickGetDeviceInstanceID(evnt.jdevice.which) & " " & SDL_JoystickNameForIndex(evnt.jdevice.which)'</div>
/home/james/src/nightly/ohrrpgce-build/wip/gfx_sdl_common.bas(239) error 41: Variable not declared, SDL_GameControllerFromInstanceID in 'DIM controller as SDL_GameController ptr = SDL_GameControllerFromInstanceID(state->info->instance_id)'<br>
scons: *** [build/game-gfx_sdl2.o] Error 1</div>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" rel="noreferrer" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>
_______________________________________________<br>
Ohrrpgce mailing list<br>
<a href="mailto:ohrrpgce@lists.motherhamster.org" target="_blank">ohrrpgce@lists.motherhamster.org</a><br>
<a href="http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org" rel="noreferrer" target="_blank">http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org</a><br>
</blockquote></div>