You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: HG 2.0 Reported for operating system, platform: All, All
Comments on the original bug report:
On 2014-07-04 23:18:07 +0000, Alex Szpakowski wrote:
Since this commit: https://hg.libsdl.org/SDL/rev/dfc759d7486f , SDL fails to link when building on operating systems which don't define a SDL_SYS_IsXInputGamepad_DeviceIndex function (non-Windows systems.)
Created attachment 1737
Adds SDL_FALSE impl for all other platforms
Here's a patch which implements all non-Windows platforms with an SDL_FALSE function. Tested with an Android build.
On 2014-07-07 03:16:37 +0000, Andreas Schiffler wrote:
Occurs also on Windows cygwin builds.
$ ../configure --disable-haptic --disable-joystick
...
SDL2 Configure Summary:
Building Shared Libraries
Building Static Libraries
Enabled modules : atomic audio video render events power filesystem threads timers file loadso cpuinfo assembly
Assembly Math : mmx 3dnow sse
Audio drivers : disk dummy directx
Video drivers : dummy opengl directx
Input drivers :
Using libudev : NO
Using dbus : NO
Using ibus : NO
$ make
#(cd /cygdrive/i/Sources/SDL && sh autogen.sh && sh configure)
/bin/sh ../build-scripts/updaterev.sh
...
build/.libs/SDL_gamecontroller.o: In function SDL_PrivateGetControllerMapping': /cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex'
/cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex'
/cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex' /cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: undefined reference to SDL_SYS_IsXInputGamepad_DeviceIndex'
build/.libs/SDL_gamecontroller.o:/cygdrive/i/Sources/SDL/src/joystick/SDL_gamecontroller.c:261: more undefined references to `SDL_SYS_IsXInputGamepad_DeviceIndex' follow
collect2: error: ld returned 1 exit status
Makefile:141: recipe for target 'build/libSDL2.la' failed
make: *** [build/libSDL2.la] Error 1
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: HG 2.0
Reported for operating system, platform: All, All
Comments on the original bug report:
On 2014-07-04 23:18:07 +0000, Alex Szpakowski wrote:
On 2014-07-06 03:46:10 +0000, Ben Boeckel wrote:
On 2014-07-07 03:16:37 +0000, Andreas Schiffler wrote:
On 2014-07-07 17:27:12 +0000, Sam Lantinga wrote:
On 2014-07-08 06:49:21 +0000, Andreas Schiffler wrote:
The text was updated successfully, but these errors were encountered: