tgbot-cpp icon indicating copy to clipboard operation
tgbot-cpp copied to clipboard

Usage for a C++11 project

Open afpgit opened this issue 3 years ago • 1 comments

Thank you for developing such a great library. I have written a few apps with it and they all work great. In a recent attempt, I try to create a shared library using tgbot to be used in a C++11 project. Is this possible to link the tgbot against older C++ versions such as C++11 because I am having difficulty getting it to work?

afpgit avatar Jun 03 '21 06:06 afpgit

It will be easy to upgrade your compiler which supports C++14 instead of back-porting a library into C++11. Can you try upgrading gcc/vs to support latest version of C++ and specify the same in your cmake file ?

naveenvhegde avatar Jul 18 '21 03:07 naveenvhegde