SDL2 has dropped support for PowerPC Macs and OS X versions older than 10.5 (SDL 1.2 still supports PPC and 10.0, though). My house (itch) mac os. That being said, some small changes can make it work, but they make the codebase uglier for small gains, and it's getting hard to find older macs to test on, so we probably will not be restoring official support. M1 build compiled on macOS 11.2.1 with SDL 2.0.14 using XCode 12.4. If this does not work for you, compile your own. NOTE: The 64-bit Intel builds only support 10.14 and above. Links: MAME Dev - MESS Wiki - SDLMAME Homepage - SDLMAME Forum - MAMEWorld Forums - MAME Testers - QMC2 (Frontend) Emulation News Links: Nekocan@mac - 1 Emulation. This is a super simple guide to get SDL2 installed and linked into your project so you can get to the fun stuff (game development) quickly. Sammy the snake mac os. Created with massive amounts of help from Deacon Blues. Once installed with the right environment variables setup, open up Terminal and type the following: sudo apt-get install sdl. You will be prompted for the administrative password for the system, and you will be prompted to install dependent packages. Simple DirectMedia Layer is a cross-platform software development library designed to provide a hardware abstraction layer for computer multimedia hardware components. Software developers can use it to write high-performance computer games and other multimedia applications that can run on many operating systems such as Android, iOS, Linux, macOS, and Windows. SDL manages video, audio, input devices, CD-ROM, threads, shared object loading, networking and timers. For 3D graphics, it can handle an.
SDL 1.2.14 on Mac OS X 10.7 |
|
Hello everyone, A user of our software's Slide Show module is experiencing crashes when running on Mac OS X 10.7. A crash report was filed and received by us. We use libSDL 1.2.14 to take over the screen via SDL_SetVideoMode() at the start of the Slide Show. Here is a partial stack trace from the crash reporter:
Is anyone working on compatibility updates to libSDL 1.2.x for Mac OS X 10.7? Is anyone else having these same crash issues? Kind regards, -Kirk Kirk A. Baker Senior Software Engineer Camera Bits, Inc. |
philstopford
|
|
|
Thanks Phil. I've filed a bug in the SDL Bugzilla bug tracker. The ID number is 1215. I'll post here if there is any progress. -Kirk |
kbaker
|
I've done some debugging on this issue. CGDisplayBaseAddress() has been deprecated in 10.6 and while it still exists on 10.7, it now returns NULL instead of the display's base address. SDL_SetVideoMode() ends up calling a number of deprecated CG functions via the Quartz implementation including CGDisplayBaseAddress(). It is SDL_SetVideoMode()'s call to SDL_ClearSurface() that actually causes the crash when it tries to clear the frame buffer memory at address zero. A new set of APIs has been added as of 10.6 and while they let you capture a display, they do not allow direct frame buffer access. Quartz or OpenGL are the only methods that can update a captured display. The work to switch to the new APIs in the context of SDL is not trivial. I downloaded a snapshot of the SDL 1.3 sources and see that, sadly, the Mac OS X implementation is still using the deprecated functions. -Kirk |
SDL 1.2.14 on Mac OS X 10.7 |
Ryan C. Gordon |
SDL 1.3 uses OpenGL by default, even for 'software' surfaces. I imagine we have some CoreGraphics cruft to clean out still, but SDL 1.3 shouldn't be trying to write to the frame buffer. To be sure, we definitely don't call CGDisplayBaseAddress() anymore. Maybe you have a really old snapshot? --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
SDL 1.2.14 on Mac OS X 10.7 |
Ryan C. Gordon |
Is this true on 32-bit programs, too, or did they only do this for 64-bit programs? --ryan. _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
Re: SDL 1.2.14 on Mac OS X 10.7 |
kbaker
|
Not that specific function, but things like CGDisplaySwitchToMode() are still in use in 1.3 and it's deprecated in 10.6. I don't know if the remaining functions act differently in 10.7 or not. I did get the tar.gz file from the main SDL page today. I think it was pretty current. -Kirk |
Sdl Snake Mac Os Catalina
Re: SDL 1.2.14 on Mac OS X 10.7 |
kbaker
|
Our application is 32-bit only at this time. I can't speak for the functionality of CGDisplayBaseAddress() for 64-bit apps when running on 10.7. -Kirk |
SDL 1.2.14 on Mac OS X 10.7 |
SDL 1.2.14 on Mac OS X 10.7 |
Sdl Snake Mac Os X
Jjgod Jiang |
On Thu, Jun 23, 2011 at 10:24 AM, kbaker wrote:
They still work, I've tried.
- Jiang _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
Design by Vjacheslav Trushkin for phpBBStyles.com.
Content © SDL