Open un000 opened 5 years ago
Haven't tested with go modules, but above error seems to be related to missing tdlib in your include paths. What OS are you using? Did you follow the tdlib building instructions?
Yes, I did, how to include tdlib, so? I use Os X
You might want to check out this build instruction: https://tdlib.github.io/td/build.html?language=Go If you check the below option:
then by following the instructions (cmake -DCMAKE_BUILD_TYPE=Release -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=/usr/local ..
) you'll have compiled tdlib (including headers) copied to your system-wide paths.
Hello I use all instructions to build and isnstall tdlib in windows 10. And it build and install success. But have error when build my go program:
fatal error: td/telegram/td_json_client.h: No such file or directory //#include <td/telegram/td_json_client.h>
I tried to add to system Path variable path to \td\tdlib\ and to \td - but same error Which path should be in system variable? Thanks
Hello I use all instructions to build and isnstall tdlib in windows 10. And it build and install success. But have error when build my go program:
fatal error: td/telegram/td_json_client.h: No such file or directory //#include <td/telegram/td_json_client.h>
I tried to add to system Path variable path to \td\tdlib\ and to \td - but same error Which path should be in system variable? Thanks
Are you sure you followed the bellow instructions? https://github.com/Arman92/go-tdlib/issues/25#issuecomment-524515410
@Arman92 i've followed all instruction from https://tdlib.github.io/td/build.html?language=Go for windows OS, i still got the same Error as @aloska
我也遇到了相同的问题
Got this error: