Skip to content
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

Can you integrate the Absl library? #1792

Open
WittonBell opened this issue Dec 2, 2024 · 0 comments
Open

Can you integrate the Absl library? #1792

WittonBell opened this issue Dec 2, 2024 · 0 comments

Comments

@WittonBell
Copy link

Describe the issue

I came here from using a new version of Protobuf that relies on the Absl library. Can you integrate the Absl library? This project has dozens of library files, and solving the dependency problem is a big hassle. There are too many interdependent libraries in Absl, and the distribution is too small. For example, for a log system, a large number of library files are created.

Steps to reproduce the problem

When compiling a project using Protobuf using the clang compiler under MinGW64, the link failed due to the dependency on absl:

in functionabsl::lts_20240722::log_internal::LogMessage::operator<<(unsigned long long)':
[build] G:/msys64/mingw64/include/absl/log/internal/log_message.h:135:(.text$_ZN4absl12lts_2024072212log_internal10LogMessagelsEy[_ZN4absl12lts_2024072212log_internal10LogMessagelsEy]+0x19): undefined reference to _ZN4absl12lts_2024072212log_internal10LogMessagelsIyTnNSt9enable_ifIXntsr4absl16HasAbslStringifyIT_EE5valueEiE4typeELi0EEERS2_RKS5_' [build] clang++: error: linker command failed with exit code 1 (use -v to see invocation)

What version of Abseil are you using?

20240722

What operating system and version are you using?

Win10

What compiler and version are you using?

GCC 14.2/ Clang 19.1.4

What build system are you using?

CMake 3.31.1

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant