Opened 3 years ago
Closed 3 years ago
#64454 closed defect (fixed)
libsdl2 @2.0.20: error: use of undeclared identifier 'kDisplayModeNativeFlag'
Reported by: | chillin- | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.1 |
Keywords: | mountainlion | Cc: | |
Port: | libsdl2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
1 error generated. make: *** [build/SDL_cocoamodes.lo] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.20' Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.20" && /usr/bin/make -j4 -w all V=1 Exit code: 2 Error: Failed to build libsdl2: command execution failed
Attachments (1)
Change History (5)
Changed 3 years ago by chillin-
comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | mountainlion added; libsdl2 removed |
Owner: | set to jmroot |
Status: | new → assigned |
Summary: | Failed to build libsdl2 on Mountain Lion → libsdl2 @2.0.20: error: use of undeclared identifier 'kDisplayModeNativeFlag' |
The relevant error message in the log is:
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libsdl2/libsdl2/work/SDL2-2.0.20/src/video/cocoa/SDL_cocoamodes.m:480:58: error: use of undeclared identifier 'kDisplayModeNativeFlag' :info:build if (CGDisplayModeGetIOFlags(m) & kDisplayModeNativeFlag) { :info:build ^ :info:build 1 error generated.
Indeed, kDisplayModeNativeFlag
was introduced in OS X 10.10.
comment:3 Changed 3 years ago by jmroot (Joshua Root)
Looks like this is https://github.com/libsdl-org/SDL/issues/5208.
comment:4 Changed 3 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
main.log