-
-
Notifications
You must be signed in to change notification settings - Fork 953
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
Mac build fails with cmake #8190
Comments
Something is wrong on your system it seems. Many suggestions in https://stackoverflow.com/questions/58628377/catalina-c-using-cmath-headers-yield-error-no-member-named-signbit-in-th |
Thanks glx. I can't resolve this locally. My OS environment is set up in a particular way to build work projects, and I can't really afford to delete all of that and start again from clean, digging through whatever broken header crap Apple have decided to impose this week. That's my fault and no-one in the project can help. But it's one more thing I don't want to deal with, and as I can no longer build the project, I think it's time to have a break and find a new hobby. |
This isn't directly caused by cmake. I narrowed it down to a49fdb7 Prior to macOS 10.15 with Xcode 11, Apple were providing a shim into /usr/include. This is gone with Xcode 11. See https://developer.apple.com/documentation/xcode-release-notes/xcode-10-release-notes#Command-Line-Tools It's unknown why clang can't then find the right includes by itself. It's supposed to, but many projects report this problem with these macOS and Xcode versions in 2019 / 2020. The problem may be in the compile, or it may be localised to my OS, possibly due to no-longer-needed homebrew symlinks. Truebrain gave me this, which solves the problem as a workaround.
|
OpenTTD 945508b
macOS Catalina. XCode Version 11.3.1 (11C504). Can't figure out the exact sdk version.
The text was updated successfully, but these errors were encountered: