You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build fails when using CMake options -DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 -DCMAKE_OSX_ARCHITECTURES='arm64;x86_64' to produce a Universal Binary build:
In file included from /.../SDL_image/external/libwebp/sharpyuv/sharpyuv_csp.c:15:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.2.sdk/usr/include/math.h:614:27: error: _Float16 is not supported on this target
614 | extern _Float16 __fabsf16(_Float16) __API_AVAILABLE(macos(15.0), ios(18.0), watchos(11.0), tvos(18.0));
| ^
More errors similar to that one show up for math.h, the same error about _Float16. When doing a single-architecture build, just arm64 or x86_64, the build succeeds.
Edit:
I encountered those errors when using the CMake Ninja generator, but the errors don't show up when using the Xcode generator.
The text was updated successfully, but these errors were encountered:
The build fails when using CMake options
-DCMAKE_OSX_DEPLOYMENT_TARGET=10.11 -DCMAKE_OSX_ARCHITECTURES='arm64;x86_64'
to produce a Universal Binary build:More errors similar to that one show up for
math.h
, the same error about_Float16
. When doing a single-architecture build, just arm64 or x86_64, the build succeeds.Edit:
I encountered those errors when using the CMake Ninja generator, but the errors don't show up when using the Xcode generator.
The text was updated successfully, but these errors were encountered: