[Ohrrpgce] Broken Linux build

James Paige Bob at hamsterrepublic.com
Mon Nov 23 13:29:59 PST 2020


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/20201123/34179484/attachment.html>


More information about the Ohrrpgce mailing list