Issue #54 new

SDL 1.2.15 won't compile on OS X 10.9 Mavericks

tarasis avatartarasis created an issue

Was just trying to compile the project for myself, unfortunately the SDL library that is required will not compile on Mavericks because CGDirectPaletteRef has been removed.

Build output:

./src/video/quartz/SDL_QuartzVideo.h:94:5: error: unknown type name 'CGDirectPaletteRef' CGDirectPaletteRef palette; / palette of an 8-bit display / ^ ./src/video/quartz/SDL_QuartzEvents.m:816:13: warning: 'UpdateSystemActivity' is deprecated: first deprecated in OS X 10.8 [-Wdeprecated-declarations] UpdateSystemActivity(UsrActivity); ^ /Applications/ note: 'UpdateSystemActivity' declared here UpdateSystemActivity(UInt8 activity) OSX_AVAILABLE_BUT_DEPRECATED(MAC_10_0,MAC_10_8,IPHONE_NA,__IPHONE_NA); ^ 1 warning and 1 error generated.

Comments (4)

  1. ville_halonen

    I found this page: and tried to patch SDL_QuartzVideo.h with that patch. ("patch < filename.patch" in the same directory as that file is in.) I received the error "Hunk #1 FAILED at 91. 1 out of 1 hunk FAILED -- saving rejects to file SDL_QuartzVideo.h.rej".

    EDIT: At some point, the .patch file I had, had acquired a few extra symbols. I corrected those and SDL seems to be okay!

    EDIT2: Confirmed. SDL is okay, and Gennady's pre-compiled Stracciatella works on Mavericks.

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.