Skip to content

Instantly share code, notes, and snippets.

@mikeseese
Created September 14, 2019 23:21
Show Gist options
  • Save mikeseese/cc9a4cfbe105025711a5afd6f002d06a to your computer and use it in GitHub Desktop.
Save mikeseese/cc9a4cfbe105025711a5afd6f002d06a to your computer and use it in GitHub Desktop.
Protron Build Error Joystick
../../../../proton/wine/dlls/dinput/joystick_sdl.c: In function ‘find_sdldevs’:
../../../../proton/wine/dlls/dinput/joystick_sdl.c:260:13: error: unknown type name ‘SDL_JoystickType’
SDL_JoystickType type = SDL_JoystickGetType(device);
^~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:260:37: warning: implicit declaration of function ‘SDL_JoystickGetType’ [-Wimplicit-function-declaration]
SDL_JoystickType type = SDL_JoystickGetType(device);
^~~~~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:262:25: error: ‘SDL_JOYSTICK_TYPE_WHEEL’ undeclared (first use in this function)
type == SDL_JOYSTICK_TYPE_WHEEL ||
^~~~~~~~~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:262:25: note: each undeclared identifier is reported only once for each function it appears in
../../../../proton/wine/dlls/dinput/joystick_sdl.c:263:25: error: ‘SDL_JOYSTICK_TYPE_FLIGHT_STICK’ undeclared (first use in this function)
type == SDL_JOYSTICK_TYPE_FLIGHT_STICK ||
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../../proton/wine/dlls/dinput/joystick_sdl.c:264:25: error: ‘SDL_JOYSTICK_TYPE_THROTTLE’ undeclared (first use in this function)
type == SDL_JOYSTICK_TYPE_THROTTLE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment