Open jiapei100 opened 2 years ago
We have not made a release of protobuf that uses abseil yet. The main branch has a dependency on abseil and can use it.
Is there a work-around for this?
We have not made a release of protobuf that uses abseil yet. The main branch has a dependency on abseil and can use it.
In the official release v23.2, for protobuf_ABSL_PROVIDER, there are ONLY 2 options:
Which one to choose and build protobuf? It looks to me: no matter it's a module, or it's package, protobuf is ALWAYS based on abseil, isn't it?
Please define the minimum required abseil version in the CMakeLists.txt
, I had libabsl-dev
installed on my ubuntu 22.04 machine but it seems the version is too old for protobuf (cmake complains about absl::absl_check
not existing)
If abseil build with -std=c++17 (default since GCC 11), then protobuf and python module need build with c++17 too. sed -i 's/c++14/c++17/g' python/setup.py
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago.
The documentation still doesn't mention which versions of abseil are supported.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago.
Documentation hasn't been update, e.g.: https://github.com/protocolbuffers/protobuf/blob/main/src/README.md#c-protobuf---unix
Thanks, Maximilian, for keeping this open.
Independent of the doc update needs, @jiapei100, the errors that you experienced appear to be that you're building with -std=c++14
and using a version of absl that dropped support for c++14.
Slight correction. Abseil has not dropped support for C++14. Very likely you are compiling in an interesting mixed configuration.
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
Still relevant
We triage inactive PRs and issues in order to make it easier to find active work. If this issue should remain active or becomes active again, please add a comment.
This issue is labeled inactive
because the last activity was over 90 days ago. This issue will be closed and archived after 14 additional days without activity.
I tried to build protobuf 21.7 from source, with abseil-cpp 20220623.1, but got the following ERROR messages:
Seems to be a compatibility issue of protobuf and abseil ???