Closed Dmi3yLitvinov closed 4 months ago
I am trying to build the TDLib library on Ubuntu 24.
The error occurs when I execute the following command sequence:
... php SplitSource.php cd build cmake --build . --target install ...
This is the error log printed in the console:
[ 51%] Building CXX object CMakeFiles/tdcore.dir/td/telegram/MessagesManager22.cpp.o /home/ubuntu/td/td/telegram/MessagesManager22.cpp:332:69: error: member access into incomplete type 'td::InlineQueriesManager' 332 | const InlineMessageContent *content = td_->inline_queries_manager_->get_inline_message_content(query_id, result_id); | ^ /home/ubuntu/td/td/telegram/Td.h:72:7: note: forward declaration of 'td::InlineQueriesManager' 72 | class InlineQueriesManager; | ^ /home/ubuntu/td/td/telegram/MessagesManager22.cpp:360:54: error: member access into incomplete type 'td::InlineQueriesManager' 360 | m->via_bot_user_id = td_->inline_queries_manager_->get_inline_bot_user_id(query_id); | ^ /home/ubuntu/td/td/telegram/Td.h:72:7: note: forward declaration of 'td::InlineQueriesManager' 72 | class InlineQueriesManager; | ^ 2 errors generated. gmake[2]: *** [CMakeFiles/tdcore.dir/build.make:2554: CMakeFiles/tdcore.dir/td/telegram/MessagesManager22.cpp.o] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:501: CMakeFiles/tdcore.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2
Could you help me deal with this problem?
Thank you. Fixed in master.
I am trying to build the TDLib library on Ubuntu 24.
The error occurs when I execute the following command sequence:
This is the error log printed in the console:
Could you help me deal with this problem?