Building example_2
[100%] Linking:example_2.exe
C:/BlitzMax/mod/sdl.mod/sdl.mod/sdl.release.win32.x86.a(sad_SDL_directsound.c.release.win32.x86.o):SDL_directsound.c:(.text+0x538): undefined reference to `SDL_IMMDevice_EnumerateEndpoints'
C:/BlitzMax/mod/sdl.mod/sdl.mod/sdl.release.win32.x86.a(sad_SDL_directsound.c.release.win32.x86.o):SDL_directsound.c:(.text+0x614): undefined reference to `SDL_IMMDevice_Quit'
C:/BlitzMax/mod/sdl.mod/sdl.mod/sdl.release.win32.x86.a(sad_SDL_directsound.c.release.win32.x86.o):SDL_directsound.c:(.text+0x771): undefined reference to `SDL_IMMDevice_Init'
C:/BlitzMax/mod/sdl.mod/sdl.mod/sdl.release.win32.x86.a(sad_SDL_directsound.c.release.win32.x86.o):SDL_directsound.c:(.text+0x4e1): undefined reference to `SDL_IMMDevice_GetDefaultAudioInfo'
collect2.exe: error: ld returned 1 exit status
Build Error: Failed to link C:/BlitzMax/mod/mingw2.mod/sprite.mod/examples/example_2.exe
Process complete
Seems the latest SDL update added
sdl.mod/sdl.mod/SDL/src/core/windows/SDL_immdevice.h
sdl.mod/sdl.mod/SDL/src/core/windows/SDL_immdevice.c
and the there defined functions are not yet known to SDL.mod.
Maybe adding the new files to "sdl.mod/sdl.mod/source.bmx" will help.
Import "SDL/src/core/windows/SDL_hid.c"
Import "SDL/src/core/windows/SDL_windows.c"
Import "SDL/src/core/windows/SDL_xinput.c"
'----> here
@mingwya wrote on discord:
Seems the latest SDL update added sdl.mod/sdl.mod/SDL/src/core/windows/SDL_immdevice.h sdl.mod/sdl.mod/SDL/src/core/windows/SDL_immdevice.c
and the there defined functions are not yet known to SDL.mod. Maybe adding the new files to "sdl.mod/sdl.mod/source.bmx" will help.