-
assigned issue to
- marked as major
SDL 1.2.15 won't compile on OS X 10.9 Mavericks
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/Xcode5-DP.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreServices.framework/Frameworks/OSServices.framework/Headers/Power.h:367:1: 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)
-
repo owner -
I found this page: http://www.emaculation.com/doku.php/compiling_sheepshaver_basilisk#tidbits 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
#1FAILED 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.
-
repo owner Sorry for such a long delay.
There is another option - compile the game using the static SDL library included into the project.
$ make build-on-mac10.9
-
repo owner - marked as minor
- Log in to comment
Thank you for reporting this problem. I will look into this when I get my hands on the 10.9 development preview.