-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: sdl3 #348
base: master
Are you sure you want to change the base?
feat: sdl3 #348
Conversation
If somebody could explain me why a Debug build fails on the link phase but the Release build succeeds that would be great.
|
oops
@toxieainc should I care about the |
@toxieainc What is the expected way this should be packaged as SDL3 should be provided or statically compiled and rpath adjusted? With the current setup on macOS for example:
|
For my part this is ready for review. |
Don't know, at least there is
|
As for how SDL is used, that is something up to @jsm174 to decide, please. |
for a standalone command line app like this, I almost think a static lib would be better as it doesn't force the user to have the right version installed or you having to provide it etc. In vpx standalone for the mac, I know we do include dylibs, however it's a macos app bundle, so we can package all our dylibs in the frameworks folder. If you decide to use the shared lib, than you can play around with the rpath options in cmake, see here. btw, you can also alter rpaths after the build using |
Oh, looks like that has changed, used to fail on some conflict in deb dependencies. Let me fix it then. |
Looks like the Also In how far is pinmame still getting upstream mame updates? |
If it's possible to create the mame_debugger versions with cmake cleaning up is probably a good idea. I used the makefiles for sdl tests and mame_debuger versions.
While looking into where to start with sdl3 for windows. I tried to understand why there is a unix src and a windows src side and why they are so different. Mame is now cpp and has a complete different structure now. |
I ported the SDL code to SDL3. (continuation of #203)
Used the approach of building SDL3 in the project like is done on standalone / libdmdutil / libaltsound. SDL3 is currently not available in homebrew nor ubuntu apt repositories.
X11 is ancient tech that is going away.
xpinmame
on linux now builds against SDL3 for graphics and sound.Some light crackling on the sound, probably something to do with pinmame not coming up with audio data in time? Had the same issue with coreaudio.
TODO
-scale 4
for example)does the -md build still work and show the debug window, was this ever the case?(not in use for xpinmame)