Comments (5)
It is a warning, not an error. The compiler is overly paranoid here, that warning can be safely ignored. We will fix it in the next update anyway.
Between, what version of GCC is used?
from td.
i just using this commands :
git clone https://github.com/vysheng/tdbot.git
cd tdbot
git submodule update --init --recursive
mkdir build && cd build
cmake ..
make telegram-bot
and after that warning :
[ 98%] Generate JSON tl source files
[ 98%] Built target tl_generate_json
[ 98%] Linking CXX executable telegram-bot
CMakeFiles/telegram-bot.dir/main.cpp.o: In function parse_config()': main.cpp:(.text+0x6fe): undefined reference to
libconfig::Config::lookupValue(char const*, std::string&) const'
CMakeFiles/telegram-bot.dir/main.cpp.o: In function libconfig::Config::lookupValue(std::string const&, std::string&) const': main.cpp:(.text._ZNK9libconfig6Config11lookupValueERKSsRSs[_ZNK9libconfig6Config11lookupValueERKSsRSs]+0x32): undefined reference to
libconfig::Config::lookupValue(char const*, std::string&) const'
collect2: error: ld returned 1 exit status
CMakeFiles/telegram-bot.dir/build.make:184: recipe for target 'telegram-bot' failed
make[3]: *** [telegram-bot] Error 1
CMakeFiles/Makefile2:74: recipe for target 'CMakeFiles/telegram-bot.dir/all' failed
make[2]: *** [CMakeFiles/telegram-bot.dir/all] Error 2
CMakeFiles/Makefile2:86: recipe for target 'CMakeFiles/telegram-bot.dir/rule' failed
make[1]: *** [CMakeFiles/telegram-bot.dir/rule] Error 2
Makefile:162: recipe for target 'telegram-bot' failed
make: *** [telegram-bot] Error 2
from td.
It is a problem with linking in libconfig++, required by tdbot. Here is the likely cause of the issue: hyperrealm/libconfig#10. And the only solution is that tdbot should be compiled with the same standard C++ library as libconfig++.
from td.
Im installed some libs
But steal i have this error
What should i install ?
from td.
Probably, you need to recompile libconfig++ with the same compiler that is used to compile tdbot.
from td.
Related Issues (20)
- APPID CHANNELS_TOO_MUCH error
- How to send a story as the current user? HOT 14
- Lots of code: 400, Too Many Requests: retry after 15 HOT 5
- "Last server dialog date didn't increased from" HOT 2
- "Limit reached" error when trying to join a channel or group, even though joined only ~20. HOT 5
- Telegram login HOT 2
- [ 1][t 0][1722393961.183200836][tl_jni_object.cpp:39] Can't find field [reaction] with signature [Ljava/lang/String;] HOT 16
- مساعدة HOT 6
- Error to run tdlib in springboot project in windows 10 HOT 17
- Tdlib version 1.8.34 error `400 Chat not found` HOT 2
- How should I remove the Tdlib version information at the end of the login information? HOT 5
- when i build example cpp ,i got this : TdConfig.cmake, version: 1.8.34 (32bit) HOT 2
- Current build scripts does not generate dSYMs which may cause warnings under Xcode 16 HOT 10
- Signaler
- Can't build android tdlib HOT 6
- How to Set a Timeout for TdApi.DownloadFile in Java with tdlib? HOT 5
- > _ No description provided. _
- TdApi.getRemoteFile return size = 0 for existing file HOT 2
- Mutliple Client on Springboot java HOT 3
- wasm size HOT 2
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 td.