-
Notifications
You must be signed in to change notification settings - Fork 15.6k
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
error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage #19831
Labels
Comments
phongnguyen1023
added
the
untriaged
auto added to all issues by default when created.
label
Jan 2, 2025
Hi @phongnguyen1023, thank you for the report. To help us repro, do you mind filling this out? Thank you.
|
honglooker
added
wait for user action
and removed
untriaged
auto added to all issues by default when created.
labels
Jan 6, 2025
it is a windows MSVC error ( |
I have the very some issue on FreeBSD. Downstream issues:
Environment: FreeBSD 13.4-RELEASE-p2 with
Failure:
Version 28.3 from FreeBSD ports tree. |
Trying the latest version now... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building Protobuf 3.29.2, I added \third_party\abseil-cpp\ to build. So I have an issue
libprotobuf.lib(descriptor.pb.cc.obj) : error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage & __cdecl absl::lts_20240722::log_internal::LogMessage::operator<<<unsigned __int64,0>(unsigned __int64 const &)" (??$?6_K$0A@@LogMessage@log_internal@lts_20240722@absl@@QEAAAEAV0123@AEB_K@Z) libprotobuf.lib(feature_resolver.cc.obj) : error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage & __cdecl absl::lts_20240722::log_internal::LogMessage::operator<<<unsigned __int64,0>(unsigned __int64 const &)" (??$?6_K$0A@@LogMessage@log_internal@lts_20240722@absl@@QEAAAEAV0123@AEB_K@Z) libprotobuf.lib(repeated_ptr_field.cc.obj) : error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage & __cdecl absl::lts_20240722::log_internal::LogMessage::operator<<<unsigned __int64,0>(unsigned __int64 const &)" (??$?6_K$0A@@LogMessage@log_internal@lts_20240722@absl@@QEAAAEAV0123@AEB_K@Z) libprotobuf.lib(extension_set_heavy.cc.obj) : error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage & __cdecl absl::lts_20240722::log_internal::LogMessage::operator<<<unsigned __int64,0>(unsigned __int64 const &)" (??$?6_K$0A@@LogMessage@log_internal@lts_20240722@absl@@QEAAAEAV0123@AEB_K@Z) libprotobuf.lib(extension_set.cc.obj) : error LNK2001: unresolved external symbol "public: class absl::lts_20240722::log_internal::LogMessage & __cdecl absl::lts_20240722::log_internal::LogMessage::operator<<<unsigned __int64,0>(unsigned __int64 const &)" (??$?6_K$0A@@LogMessage@log_internal@lts_20240722@absl@@QEAAAEAV0123@AEB_K@Z)
I set default CMakeLists.txt for Protobuf, abseil-cpp, utf8_range. Looks like a compiler issue.
Is there any way to fix the above issue?
The text was updated successfully, but these errors were encountered: