[Ohrrpgce] Broken Linux build

James Paige Bob at hamsterrepublic.com
Wed Nov 25 17:15:01 PST 2020


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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20201125/04bf156c/attachment.html>


More information about the Ohrrpgce mailing list