Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SDL3 and Windows XP

Featured Replies

There was mention of a major SDL 3 release. This one:

https://github.com/libsdl-org/SDL/releases/tag/release-3.2.0

So far, most open source games use SDL2. Which has a history of supporting Windows XP just fine. But this v3.2.0 unfortunately does not:

Two Windows XP incompatible calls in SDL3.dll (from package SDL3-3.2.0-win32-x86.zip):

kernel32.dll - SetWaitableTimerEx

kernel32.dll - CreateWaitableTimerExW

Any ideas?

Edited by gerwin


these timers are almost the same just with different names

Kernel32.dll from the One Core Api project contains both functions. It needs the related libraries ntext.dll and kernelbase.dll.
It is not sure that it works but it is worth a try.

  • Author

Portable KernelEx is the most simple. I have not yet tried it though.

Preferably I build a version of SDL3 without these dependencies. I did build SDL2 before. But only when the API is stabilized.

Even better would be for the SDL3 team to add XP back as a supported platform, as it was for SDL2.

 

 

Good ol' Sam, he's on the ball. 

Hi all. @gerwin, I saw this issue posted on Github, and it got me curious about the XP compatibility. I'm only using VS2022, so it's all I know. I installed the XP toolset (v141_xp) and compiled using the supplied VS project in SDL3. It starts to compile, but breaks at `SDL_camera_mediafoundation.c` with ` error C2065: 'MFVideoPrimaries_BT2020': undeclared identifier`. Were you successful in building for XP after Sam's patch? Which toolchain did you use? Any idea what I'm missing?

Looking deeper into SDL3, I notice SDL_CAMERA_DRIVER_MEDIAFOUNDATION is always defined, even if SDL_CAMERA_DISABLED is defined. Would this be a problem with SDL not gating enough code with SDL_CAMERA_DISABLED? I don't understand CMAKE, but it looks like it'll only define SDL_CAMERA_DRIVER_MEDIAFOUNDATION if HAVE_CAMERA is TRUE?

  • Author

The last time I tried building SDL2 was: SDL2_v2-0-22 (25-04-2022) with MinGW 8, on actual Windows XP x86.

That worked fine.

I have not tried building SDL3 that way.

There is also a MinGW 10 build environment on that system, if need be. But I don't have any spare time in the two weeks to come, I need to travel...

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.