You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build likely succeeded, and the file td_example.exe has been generated by the command cmake --build ..
If you want to edit the example in CLion and build from there, then you must ensure to create the project from the CMake file and use it with the same options as specified at the command line, namely, Td_DIR=/Users/cy/td/example/cpp/td/lib/cmake/Td
build command
git clone https://github.com/tdlib/td.git
cd td
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/ -DCMAKE_INSTALL_PREFIX:PATH=../example/cpp/td ..
cmake --build . --target install
cd ../example/cpp
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Debug -DTd_DIR=/Users/cy/td/example/cpp/td/lib/cmake/Td ..
cmake --build .
when i run td_example.cpp
fatal error: 'td/telegram/Client.h' file not found
#include <td/telegram/Client.h>
^~~~~~~~~~~~~~~~~~~~~~
1 error generated.
the clion ide compilation failed.
The text was updated successfully, but these errors were encountered: