-
Notifications
You must be signed in to change notification settings - Fork 11
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 error (Parse error at "::"
) after vcpkg update
#23
Comments
Hi, |
Thanks for the quick response -- unfortunately I still get the same error. As I mentioned, I saw this error still with the most recent vcpkg, and could only remove it by downgrading. (Were you building on macOS? What version?) I'm happy to give more data on the failure or otherwise help with troubleshooting if there's anything more you need. |
Try deleting the vcpkg executable, and try again. |
I'm on latest macOS and xcode. |
All these attempts were run from scratch from a freshly cloned repository.
Could be version-dependent then, neither of my machines are on macOS 14 yet |
You should try to update your xcode to the latest version. |
Updating to xcode 15.0.1 on macOS 13 fixed the build. That doesn't work on macOS 12 though, since it only supports up to xcode 14. (I know newer versions exist now but macOS 13 is barely a year old, it would be nice to keep working on older versions since this seems like an incidental mismatch rather than anything intrinsic... but up to you obviously. Absent a fix, it's probably worth documenting the version requirement.) |
Ah, I don't have enough resources to setup many old macOS versions. |
As of this commit
build-gui
no longer works for me. Verified on two machines:The specific error is correlated with the
vcpkg
update from commit424ed5e6737117a53b947c5a8c09bc2860cd5469
toae360361a434310ffee36d84eb01c033b648fb22
-- the failure itself isn't obviously related, but it happens when I do thatvcpkg
update and not otherwise.The error message produced when running
scripts/build-gui.sh
isApplications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/concept:318:1: error: Parse error at "::"
, during the build step[85/135] Automatic MOC for target clap-plugin-gui
.This error message is repeated four times, while processing the four source files:
plugins/gui/plugin-proxy.hh
plugins/gui/gui.hh
plugins/gui/parameter-proxy.hh
plugins/gui/transport-proxy.hh
I tried updating
vcpkg
to the most recent version instead, but the error is still present. On the other hand, everything builds fine if I clone the currentclap-plugins
repo and downgradevcpkg
to commit424ed...
before building, so if there's no hard dependency on that update then downgrading would be a viable workaround for now. I'm also happy to help troubleshoot the error instead, though I don't have experience with vcpkg or ninja so I'm not sure where to start.The full error text
The text was updated successfully, but these errors were encountered: