[Ohrrpgce] SVN: teeemcee/8413 music_sdl: dynamically load the Mix_GetMusicDecoder etc functions only a

Ralph Versteegen teeemcee at gmail.com
Mon Feb 27 16:01:42 PST 2017


Turns out this isn't Android specific; could also happen on GNU if
libSDL_mixer.so didn't load. Don't know about BSD

Also, I just realised that dylibload isn't really implemented properly on
OSX; it doesn't search for .dylib files or frameworks.

On 28 February 2017 at 11:34, James Paige <Bob at hamsterrepublic.com> wrote:

> I just realized that this revision broke the Android build. It crashes
> right after launch
>
> 02-27 14:33:24.623 28564 28611 I libSDL  : Calling SDL_main("sdl")
> 02-27 14:33:24.623 28564 28611 I libSDL  : param 0 = "sdl"
> 02-27 14:33:24.623 28564 28611 I OHRRPGCE: main() started; starting debug
> log...
> 02-27 14:33:24.624 28564 28611 I OHRRPGCE:  ----Starting OHRRPGCE Game----
> 02-27 14:33:24.624 28564 28611 I OHRRPGCE: 02-27-2017 14:33:24
> 02-27 14:33:24.625 28564 28611 I OHRRPGCE: OHRRPGCE wip 20170227.8413
> gfx_sdl/music_sdl FreeBASIC 1.06.0 (09-14-2016) armv5te  -gen gcc Android
> 32-bit
> 02-27 14:33:24.625 28564 28611 I OHRRPGCE: exepath: , exe: sdl
> 02-27 14:33:24.627 28564 28611 F libc    : Fatal signal 11 (SIGSEGV), code
> 1, fault addr 0xa8 in tid 28611 (GLThread)
> 02-27 14:33:24.729   200   200 F DEBUG   : *** *** *** *** *** *** *** ***
> *** *** *** *** *** *** *** ***
>
>
> On Sun, Feb 19, 2017 at 6:38 AM, <subversion at hamsterrepublic.com> wrote:
>
>> teeemcee
>> 2017-02-19 06:38:57 -0800 (Sun, 19 Feb 2017)
>> 206
>> music_sdl: dynamically load the Mix_GetMusicDecoder etc functions only
>> available in 1.2.9+ instead of not using them under linux
>>
>> Yes this is far too cautious, since Debian switched to 1.2.9+ 4 years
>> ago...
>> ---
>> U   wip/music_sdl.bas
>> _______________________________________________
>> Ohrrpgce mailing list
>> ohrrpgce at lists.motherhamster.org
>> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>>
>
>
> _______________________________________________
> Ohrrpgce mailing list
> ohrrpgce at lists.motherhamster.org
> http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20170228/94ba517a/attachment.htm>


More information about the Ohrrpgce mailing list