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

Problem installing with tdlib 1.5 #14

Open
BarnameESF opened this issue Sep 14, 2019 · 0 comments
Open

Problem installing with tdlib 1.5 #14

BarnameESF opened this issue Sep 14, 2019 · 0 comments

Comments

@BarnameESF
Copy link

I am experiencing the following error while installing, and thank you for publishing the TDLIb-compatible files:

Scanning dependencies of target telegram-bot
[ 98%] Building CXX object CMakeFiles/telegram-bot.dir/main.cpp.o
In file included from /root/tdbot/cliclient.hpp:20:0,
                 from /root/tdbot/main.cpp:20:
/root/tdbot/td/td/tl/tl_json.h:45:63: error: ‘to_json’ is not a member of ‘td::td_api’
 auto lazy_to_json(JsonValueScope &jv, const T &t) -> decltype(td_api::to_json(jv, t)) {
                                                               ^
/root/tdbot/td/td/tl/tl_json.h:45:63: note: suggested alternative:
/root/tdbot/td/td/tl/tl_json.h:37:13: note:   ‘td::to_json’
 inline void to_json(JsonValueScope &jv, const JsonVectorInt64 &vec) {
             ^
/root/tdbot/td/td/tl/tl_json.h:45:63: error: ‘to_json’ is not a member of ‘td::td_api’
 auto lazy_to_json(JsonValueScope &jv, const T &t) -> decltype(td_api::to_json(jv, t)) {
                                                               ^
/root/tdbot/td/td/tl/tl_json.h:45:63: note: suggested alternative:
/root/tdbot/td/td/tl/tl_json.h:37:13: note:   ‘td::to_json’
 inline void to_json(JsonValueScope &jv, const JsonVectorInt64 &vec) {
             ^
CMakeFiles/telegram-bot.dir/build.make:62: recipe for target 'CMakeFiles/telegram-bot.dir/main.cpp.o' failed
make[3]: *** [CMakeFiles/telegram-bot.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/telegram-bot.dir/all' failed
make[2]: *** [CMakeFiles/telegram-bot.dir/all] Error 2
CMakeFiles/Makefile2:86: recipe for target 'CMakeFiles/telegram-bot.dir/rule' failed
make[1]: *** [CMakeFiles/telegram-bot.dir/rule] Error 2
Makefile:162: recipe for target 'telegram-bot' failed
make: *** [telegram-bot] Error 2
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