-
Notifications
You must be signed in to change notification settings - Fork 207
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 find the protoc header files #1980
Comments
The problem is that the build system forces C++11 while nowadays every compiler defaults to C++17 at least - Xcode has been defaulting to C++20 for two years now, C++11 is older than C++98 was when C++11 was released :) In particular, recent versions of protoc require abseil which requires at least C++14:
I would suggest removing the forced -std=gnu++11 and let the compiler use their default (more recent) standard |
Hello,
I am trying to build OLA from source on macos (M2) but when running ./configure I run into this problem:
I have tried various ways of installing protobuf but I cannot seem to fix it, can anyone help?
The text was updated successfully, but these errors were encountered: