[Ohrrpgce] Broken Linux build

Ralph Versteegen teeemcee at gmail.com
Wed Nov 25 19:31:25 PST 2020


Oh wait, I could just restore a working ohrrpgce-player-win-wip-sdl2.zip
from the archive too. Done.

On Thu, 26 Nov 2020 at 16:28, Ralph Versteegen <teeemcee at gmail.com> wrote:

> I deleted the bad ohrrpgce-player-win-wip-sdl2.zip from the nightly folder.
> 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
>
> On Thu, 26 Nov 2020 at 16:20, Ralph Versteegen <teeemcee at gmail.com> wrote:
>
>> Whoops, yes, turns out all the nightly build VMs are running old versions
>> of FB.
>> 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.
>> 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.
>> I guess we'll target SDL 2.0.5 on Linux for now.
>>
>> On Thu, 26 Nov 2020 at 14:15, James Paige <Bob at hamsterrepublic.com>
>> wrote:
>>
>>> Ah, actually, that was all builds, not just linux builds.
>>> Maybe forgot to check in a new file?
>>>
>>> On Mon, Nov 23, 2020 at 4:29 PM James Paige <Bob at hamsterrepublic.com>
>>> wrote:
>>>
>>>> Looks like recent changes to the gamepad support broke compiling in
>>>> Linux.
>>>>
>>>> Seems to have started with commit:
>>>>
>>>> gfx_sdl2: Use SDL's GameController API to read fixed-meaning
>>>> buttons/axes if possible
>>>>
>>>> (svn revision 12079)
>>>>
>>>> gfx_sdl2.bas(985) error 41: Variable not declared,
>>>> SDL_JoystickGetDeviceInstanceID in
>>>> 'SDL_JoystickGetDeviceInstanceID(evnt.jdevice.which) & " " &
>>>> SDL_JoystickNameForIndex(evnt.jdevice.which)'
>>>> /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)'
>>>> scons: *** [build/game-gfx_sdl2.o] Error 1
>>>>
>>> _______________________________________________
>>> 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/20201126/8d1ceca0/attachment.html>


More information about the Ohrrpgce mailing list