Comments (5)
from telegrambotapi.
Подивився ваш профіль в Лінкедінє і вирішив переписати повідомлення рідною мовою.
Тут ще й коду то немає. Перед тим як підключити бібліотеку до проєкту, її ж треба зібрати з джерел! Я клоню проєкт, відкриваю його в Qt намагаюсь компілювати і отримую власне сабж. До коду справа ще не дійшла. Спочатку думав, що компілятор не підтримує версію С++ - зібрав GCC останньої версії - нічого не змінилось. Думаю знайду в документації С++ що це за темплейт, може одруківка, може зможу використати щось рідне з
Qt - так і в документації немає такого _Is_iterator_v. Ось і прошу поради, що треба зробити щоб бібліотека зкомпілювалась.
from telegrambotapi.
from telegrambotapi.
Same problem guys, had to comment this requires line
requires std::_Is_iterator_v
Seems like _Is_iterator_v is a Visual Studio thing
from telegrambotapi.
Additionally, there's also (also Ubuntu 23.04)
/home/me/downloader-bot/TelegramBotAPI/./Internal/Utility/QHttpMultiPartInserter.hpp:7:119: error: cannot declare member function ‘static std::unique_ptr<QHttpMultiPart> Utility::QHttpMultiPartInserter::make(std::span<QString>, Args&& ...)’ to have static linkage [-fpermissive]
7 | static std::unique_ptr<QHttpMultiPart> Utility::QHttpMultiPartInserter::make(std::span<QString> keys, Args&&... values) {
| ^
In file included from /home/me/downloader-bot/TelegramBotAPI/Internal/Utility/QJsonObjectInserter.h:80,
from /home/me/downloader-bot/TelegramBotAPI/Bot.cpp:4:
/home/me/downloader-bot/TelegramBotAPI/./Internal/Utility/QJsonObjectInserter.hpp:8:96: error: cannot declare member function ‘static QJsonObject Utility::QJsonObjectInserter::make(std::span<QString>, Args&& ...)’ to have static linkage [-fpermissive]
8 | static QJsonObject Utility::QJsonObjectInserter::make(std::span<QString> keys, Args&&... values) {
| ^
gmake[2]: *** [TelegramBotAPI/CMakeFiles/TelegramBotAPI.dir/build.make:90: TelegramBotAPI/CMakeFiles/TelegramBotAPI.dir/Bot.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:170: TelegramBotAPI/CMakeFiles/TelegramBotAPI.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
me@pi5:~/downloader-bot/TelegramBotAPI$
from telegrambotapi.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegrambotapi.