Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS 13.3 build fails #2584

Closed
VictorEijkhout opened this issue Jun 22, 2023 · 4 comments
Closed

MacOS 13.3 build fails #2584

VictorEijkhout opened this issue Jun 22, 2023 · 4 comments

Comments

@VictorEijkhout
Copy link

Uh oh. Something with the CommandlineTool SDK....

[ 19%] Building CXX object src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.o
cd /Users/eijkhout/Installation/sfml/build-2.6.0-macbookair-gcc12/src/SFML/Window && /opt/local/bin/g++ -DSFML_WINDOW_EXPORTS -I/Users/eijkhout/Installation/sfml/sfml-2.6.0/include -I/Users/eijkhout/Installation/sfml/sfml-2.6.0/src -I/Users/eijkhout/Installation/sfml/sfml-2.6.0/extlibs/headers/vulkan -isystem /Users/eijkhout/Installation/sfml/sfml-2.6.0/extlibs/headers/glad/include -iframework /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks -O3 -DNDEBUG -arch arm64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk -mmacosx-version-min=13.0 -fPIC -fvisibility=hidden -stdlib=libc++  -Wall -Wextra -Wshadow -Wnon-virtual-dtor -Wcast-align -Wunused -Woverloaded-virtual -Wconversion -Wsign-conversion -Wdouble-promotion -Wformat=2 -Wnull-dereference -Wold-style-cast -Wpedantic -Wmisleading-indentation -Wduplicated-cond -Wlogical-op -Wduplicated-branches -MD -MT src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.o -MF CMakeFiles/sfml-window.dir/Joystick.cpp.o.d -o CMakeFiles/sfml-window.dir/Joystick.cpp.o -c /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/Joystick.cpp
In file included from /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/OSX/JoystickImpl.hpp:35,
                 from /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/JoystickImpl.hpp:102,
                 from /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/JoystickManager.hpp:32,
                 from /Users/eijkhout/Installation/sfml/sfml-2.6.0/src/SFML/Window/Joystick.cpp:29:
/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/IOKit.framework/Headers/hid/IOHIDDevice.h:273:34: error: 'dispatch_block_t' has not been declared
  273 |                                  dispatch_block_t               handler)
      |                                  ^~~~~~~~~~~~~~~~
make[3]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/Joystick.cpp.o] Error 1
make[2]: *** [src/SFML/Window/CMakeFiles/sfml-window.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
@VictorEijkhout
Copy link
Author

Apparently a known problem. I'll try clang.

@ChrisThrasher
Copy link
Member

If anyone comes across this issue in the future, we'd love to fix this and make GCC work on Apple platforms but we're simply unaware of how to do it.

@eXpl0it3r eXpl0it3r closed this as not planned Won't fix, can't repro, duplicate, stale Jun 28, 2023
@Bromeon
Copy link
Member

Bromeon commented Jun 28, 2023

Loosely related: #2582 #2583

@eXpl0it3r
Copy link
Member

Duplicates #2790

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants