I get the following error (at end of post) trying to build SDL 2.0.10 with an older mac(macOS 10.11), with
xcode7.3 travis CI image (and
Is there a way to make SDL 2.0.10 compile so it supports older versions of Mac OSX with a newer version of xcode?
If xcode7.3 is supposed to be supported by SDL, then I’ll report a bug? I wonder if this also means that SDL 2.0.10 doesn’t work on Mac OS 10.11 El Capitan?
==> ./configure --prefix=/usr/local/Cellar/sdl2/2.0.10 --without-x ==> make install Last 15 lines from /Users/travis/Library/Logs/Homebrew/sdl2/02.make: CC build/SDL_cocoaopengles.lo CC build/SDL_cocoashape.lo CC build/SDL_cocoavideo.lo CC build/SDL_cocoavulkan.lo CC build/SDL_cocoawindow.lo CC build/SDL_render_metal.lo /private/tmp/sdl2-20190829-31479-1nmyf53/SDL2-2.0.10/src/video/cocoa/SDL_cocoawindow.m:1119:52: error: use of undeclared identifier 'NSEventSubtypeMouseEvent' const BOOL istrackpad = ([theEvent subtype] == NSEventSubtypeMouseEvent); ^ /private/tmp/sdl2-20190829-31479-1nmyf53/SDL2-2.0.10/src/video/cocoa/SDL_cocoawindow.m:1164:52: error: use of undeclared identifier 'NSEventSubtypeMouseEvent' const BOOL istrackpad = ([theEvent subtype] == NSEventSubtypeMouseEvent); 2 errors generated. make: *** [build/SDL_cocoawindow.lo] Error 1 make: *** Waiting for unfinished jobs....