Переглянути джерело

Added documentation to fix building on macOS with Xcode 12.2 (thanks @buhman!)

Fixes https://github.com/libsdl-org/SDL/issues/15167

(cherry picked from commit 6466c10ae4eb11c961d2d97e32c2fac9d3f0b1c6)
Sam Lantinga 22 годин тому
батько
коміт
b7e1f88db8
1 змінених файлів з 4 додано та 0 видалено
  1. 4 0
      docs/README-macos.md

+ 4 - 0
docs/README-macos.md

@@ -32,6 +32,10 @@ sudo cmake --install .
 
 
 Please note that building SDL requires at least Xcode 12.2 and the macOS 11.0 SDK.
 Please note that building SDL requires at least Xcode 12.2 and the macOS 11.0 SDK.
 
 
+If you are getting errors building SDL_mfijoystick.m with Xcode 12.2, find your SDKs
+directory and move MacOSX10.15.sdk out of the way so it isn't accidentally being used
+by the build environment.
+
 To use the library once it's built, you essential have two possibilities:
 To use the library once it's built, you essential have two possibilities:
 use the traditional autoconf/automake/make method, or use Xcode.
 use the traditional autoconf/automake/make method, or use Xcode.