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

fatal error: td/actor/actor.h: No such file or directory #3

Closed
ZloySega opened this issue Nov 4, 2020 · 2 comments
Closed

fatal error: td/actor/actor.h: No such file or directory #3

ZloySega opened this issue Nov 4, 2020 · 2 comments

Comments

@ZloySega
Copy link

ZloySega commented Nov 4, 2020

Hi
I try to build and get this error

[ 90%] Building CXX object CMakeFiles/telegram-bot-api.dir/telegram-bot-api/telegram-bot-api.cpp.o
In file included from /home/sega/telegram-bot-api/telegram-bot-api/Query.h:9,
                 from /home/sega/telegram-bot-api/telegram-bot-api/Client.h:9,
                 from /home/sega/telegram-bot-api/telegram-bot-api/ClientManager.h:9,
                 from /home/sega/telegram-bot-api/telegram-bot-api/telegram-bot-api.cpp:7:
/home/sega/telegram-bot-api/telegram-bot-api/ClientParameters.h:9:10: fatal error: td/actor/actor.h: No such file or directory
 #include "td/actor/actor.h"
          ^~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/telegram-bot-api.dir/build.make:63: CMakeFiles/telegram-bot-api.dir/telegram-bot-api/telegram-bot-api.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/telegram-bot-api.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

what can I do?

@levlam
Copy link
Contributor

levlam commented Nov 4, 2020

You forgotten to init submodules. Use https://tdlib.github.io/telegram-bot-api/build.html to receive correct build instructions.

@ZloySega
Copy link
Author

ZloySega commented Nov 4, 2020

Great! Now everything is ok. Thank you

@ZloySega ZloySega closed this as completed Nov 4, 2020
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

2 participants