td
td copied to clipboard
error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const
Build fails:
ld: error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const
>>> referenced by UserManager.cpp
>>> UserManager.cpp.o:(void td::UserManager::UserFull::store<td::log_event::LogEventStorerCalcLength>(td::log_event::LogEventStorerCalcLength&) const) in archive libtdcore.a
ld: error: undefined symbol: void td::FormattedText::store<td::log_event::LogEventStorerUnsafe>(td::log_event::LogEventStorerUnsafe&) const
>>> referenced by UserManager.cpp
>>> UserManager.cpp.o:(void td::UserManager::UserFull::store<td::log_event::LogEventStorerUnsafe>(td::log_event::LogEventStorerUnsafe&) const) in archive libtdcore.a
ld: error: undefined symbol: void td::FormattedText::parse<td::log_event::LogEventParser>(td::log_event::LogEventParser&)
>>> referenced by UserManager.cpp
>>> UserManager.cpp.o:(void td::UserManager::UserFull::parse<td::log_event::LogEventParser>(td::log_event::LogEventParser&)) in archive libtdcore.a
Version: 1.8.56 (rev. 8fbaf8441a79214bd00a1f19ab0bbcc91cd04e52) clang-19 FreeBSD 15 STABLE
This is fixed in the master version.
In what commit was this fixed?
ah it was this one https://github.com/tdlib/td/commit/8365a6ed818bc20502f109750503a01f7115dcaf
@mid-kid https://github.com/tdlib/td/commit/4f4df7c6436085391e0b6d74cc7a54cf274c7edf is also required.