-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
Cannot compiler profiler on macOS 12.3.1 #368
Comments
You can workaround by building with |
Thanks. I'm using this workaround for now :) |
I have switched the NFD library to a maintained fork (https://github.com/btzy/nativefiledialog-extended). Please check if the issue still persists (macOS is a madhouse, I don't know how to switch to the SDK you are using) and if it still is, please report an issue directly in the NFD library. |
Hmm so I tried again, and the error persists. There is clearly an issue with NFD, but I think there is also something funny going on with the makefile. I have xcode-select pointing to Xcode12.4:
And this version of cc:
When compiling Tracy, the following line is invoked to compile nfd_cocoa.m (which results in failure):
But if I download https://github.com/btzy/nativefiledialog-extended separately and try to build it with CMake, it succeeds, and
Anyhow, the EDIT: Opened an issue on https://github.com/btzy/nativefiledialog-extended as well. |
Apple Clang version 12.0.0 is based on LLVM 10.0.0, which doesn't have I'm guessing that only the deprecation warning for |
I've made a fix for the NFD warning due to using the deprecated method. Can you try compiling against the branch in this PR and see if it works for you? On MacOS >= 12.0, it will instead use Note that this may be a breaking change on MacOS >= 12.0 if you are using custom file extensions. If that is the case, you will need to add an |
Fix from NFD repo is applied in 3c49dea. |
The runtime MacOS version check caused problems for some people, and has now been replaced by a compile-time check (which presumably is the more correct way to do it, since the deprecation warning is emitted based on the compile-time target). Please pull the latest NFD version from the repo. |
Updated in d6a607b. Thanks for the heads up. |
Hi,
I recently upgraded my macOS to 12.3.1 and now I cannot build the profiler anymore, stumbling upon this issue:
This is with Tracy 0.8.
The text was updated successfully, but these errors were encountered: