about compiling td lib
Closed this issue · 8 comments
hi I know that it's not a direct problem to this library and I'm sorry about that
when I compile tdlib it dosen't produce a libtdjson.so file which is expected by this library
my questions:
1.what's the problem with my compile? here's a directory list of my directory at the end (sorry its long)
2.how can I change the default options of this library
I am SUPER grateful for any help
directories
.
├── benchmark
│ ├── bench_actor.cpp
│ ├── bench_crypto.cpp
│ ├── bench_db.cpp
│ ├── bench_empty.cpp
│ ├── bench_handshake.cpp
│ ├── bench_http.cpp
│ ├── bench_http_reader.cpp
│ ├── bench_http_server_cheat.cpp
│ ├── bench_http_server.cpp
│ ├── bench_http_server_fast.cpp
│ ├── bench_log.cpp
│ ├── bench_misc.cpp
│ ├── bench_queue.cpp
│ ├── bench_tddb.cpp
│ ├── CMakeLists.txt
│ ├── rmdir.cpp
│ └── wget.cpp
├── bitbucket-pipelines.yml
├── build
│ ├── CMakeCache.txt
│ ├── CMakeFiles
│ │ ├── 3.5.1
│ │ │ ├── CMakeCCompiler.cmake
│ │ │ ├── CMakeCXXCompiler.cmake
│ │ │ ├── CMakeDetermineCompilerABI_C.bin
│ │ │ ├── CMakeDetermineCompilerABI_CXX.bin
│ │ │ ├── CMakeSystem.cmake
│ │ │ ├── CompilerIdC
│ │ │ │ ├── a.out
│ │ │ │ └── CMakeCCompilerId.c
│ │ │ └── CompilerIdCXX
│ │ │ ├── a.out
│ │ │ └── CMakeCXXCompilerId.cpp
│ │ ├── cmake.check_cache
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── CMakeError.log
│ │ ├── CMakeOutput.log
│ │ ├── CMakeRuleHashes.txt
│ │ ├── CMakeTmp
│ │ ├── feature_tests.bin
│ │ ├── feature_tests.c
│ │ ├── feature_tests.cxx
│ │ ├── Makefile2
│ │ ├── Makefile.cmake
│ │ ├── prepare_cross_compiling.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── DependInfo.cmake
│ │ │ └── progress.make
│ │ ├── progress.marks
│ │ └── TargetDirectories.txt
│ ├── cmake_install.cmake
│ ├── compile_commands.json
│ ├── CTestTestfile.cmake
│ ├── Makefile
│ ├── td
│ │ └── generate
│ │ ├── CMakeFiles
│ │ │ ├── CMakeDirectoryInformation.cmake
│ │ │ ├── generate_c.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── generate_c.cpp.o
│ │ │ │ ├── link.txt
│ │ │ │ └── progress.make
│ │ │ ├── generate_common.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── generate_common.cpp.o
│ │ │ │ ├── link.txt
│ │ │ │ ├── progress.make
│ │ │ │ ├── tl_writer_cpp.cpp.o
│ │ │ │ ├── tl_writer_h.cpp.o
│ │ │ │ ├── tl_writer_hpp.cpp.o
│ │ │ │ ├── tl_writer_jni_cpp.cpp.o
│ │ │ │ ├── tl_writer_jni_h.cpp.o
│ │ │ │ └── tl_writer_td.cpp.o
│ │ │ ├── generate_json.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── generate_json.cpp.o
│ │ │ │ ├── link.txt
│ │ │ │ ├── progress.make
│ │ │ │ └── tl_json_converter.cpp.o
│ │ │ ├── progress.marks
│ │ │ ├── remove_documentation.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── link.txt
│ │ │ │ ├── progress.make
│ │ │ │ └── remove_documentation.cpp.o
│ │ │ ├── td_generate_java_api.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── generate_java.cpp.o
│ │ │ │ ├── link.txt
│ │ │ │ ├── progress.make
│ │ │ │ └── tl_writer_java.cpp.o
│ │ │ ├── tl_generate_c.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ └── progress.make
│ │ │ ├── tl_generate_common.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ └── progress.make
│ │ │ └── tl_generate_json.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── DependInfo.cmake
│ │ │ └── progress.make
│ │ ├── cmake_install.cmake
│ │ ├── CTestTestfile.cmake
│ │ ├── generate_c
│ │ ├── generate_common
│ │ ├── generate_json
│ │ ├── Makefile
│ │ ├── remove_documentation
│ │ └── td_generate_java_api
│ ├── tdtl
│ │ ├── CMakeFiles
│ │ │ ├── CMakeDirectoryInformation.cmake
│ │ │ ├── progress.marks
│ │ │ └── tdtl.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── cmake_clean_target.cmake
│ │ │ ├── CXX.includecache
│ │ │ ├── DependInfo.cmake
│ │ │ ├── depend.internal
│ │ │ ├── depend.make
│ │ │ ├── flags.make
│ │ │ ├── link.txt
│ │ │ ├── progress.make
│ │ │ └── td
│ │ │ └── tl
│ │ │ ├── tl_config.cpp.o
│ │ │ ├── tl_core.cpp.o
│ │ │ ├── tl_file_outputer.cpp.o
│ │ │ ├── tl_file_utils.cpp.o
│ │ │ ├── tl_generate.cpp.o
│ │ │ ├── tl_outputer.cpp.o
│ │ │ ├── tl_string_outputer.cpp.o
│ │ │ └── tl_writer.cpp.o
│ │ ├── cmake_install.cmake
│ │ ├── CTestTestfile.cmake
│ │ ├── libtdtl.a
│ │ └── Makefile
│ └── tdutils
│ ├── CMakeFiles
│ │ ├── CMakeDirectoryInformation.cmake
│ │ ├── progress.marks
│ │ └── tdutils.dir
│ │ ├── build.make
│ │ ├── cmake_clean.cmake
│ │ ├── cmake_clean_target.cmake
│ │ ├── CXX.includecache
│ │ ├── DependInfo.cmake
│ │ ├── depend.internal
│ │ ├── depend.make
│ │ ├── flags.make
│ │ ├── generate
│ │ │ └── auto
│ │ │ ├── extension_to_mime_type.cpp.o
│ │ │ └── mime_type_to_extension.cpp.o
│ │ ├── link.txt
│ │ ├── progress.make
│ │ └── td
│ │ └── utils
│ │ ├── base64.cpp.o
│ │ ├── BigNum.cpp.o
│ │ ├── buffer.cpp.o
│ │ ├── crypto.cpp.o
│ │ ├── FileLog.cpp.o
│ │ ├── filesystem.cpp.o
│ │ ├── find_boundary.cpp.o
│ │ ├── GzipByteFlow.cpp.o
│ │ ├── Gzip.cpp.o
│ │ ├── Hints.cpp.o
│ │ ├── HttpUrl.cpp.o
│ │ ├── JsonBuilder.cpp.o
│ │ ├── logging.cpp.o
│ │ ├── MimeType.cpp.o
│ │ ├── misc.cpp.o
│ │ ├── port
│ │ │ ├── Clocks.cpp.o
│ │ │ ├── detail
│ │ │ │ ├── Epoll.cpp.o
│ │ │ │ ├── EventFdBsd.cpp.o
│ │ │ │ ├── EventFdLinux.cpp.o
│ │ │ │ ├── EventFdWindows.cpp.o
│ │ │ │ ├── KQueue.cpp.o
│ │ │ │ ├── Poll.cpp.o
│ │ │ │ ├── Select.cpp.o
│ │ │ │ ├── ThreadIdGuard.cpp.o
│ │ │ │ └── WineventPoll.cpp.o
│ │ │ ├── Fd.cpp.o
│ │ │ ├── FileFd.cpp.o
│ │ │ ├── IPAddress.cpp.o
│ │ │ ├── path.cpp.o
│ │ │ ├── ServerSocketFd.cpp.o
│ │ │ ├── signals.cpp.o
│ │ │ ├── sleep.cpp.o
│ │ │ ├── SocketFd.cpp.o
│ │ │ ├── Stat.cpp.o
│ │ │ ├── thread_local.cpp.o
│ │ │ └── wstring_convert.cpp.o
│ │ ├── Random.cpp.o
│ │ ├── StackAllocator.cpp.o
│ │ ├── Status.cpp.o
│ │ ├── StringBuilder.cpp.o
│ │ ├── Time.cpp.o
│ │ ├── Timer.cpp.o
│ │ ├── tl_parsers.cpp.o
│ │ ├── translit.cpp.o
│ │ ├── unicode.cpp.o
│ │ └── utf8.cpp.o
│ ├── cmake_install.cmake
│ ├── CTestTestfile.cmake
│ ├── generate
│ │ ├── CMakeFiles
│ │ │ ├── CMakeDirectoryInformation.cmake
│ │ │ ├── generate_mime_types_gperf.dir
│ │ │ │ ├── build.make
│ │ │ │ ├── cmake_clean.cmake
│ │ │ │ ├── CXX.includecache
│ │ │ │ ├── DependInfo.cmake
│ │ │ │ ├── depend.internal
│ │ │ │ ├── depend.make
│ │ │ │ ├── flags.make
│ │ │ │ ├── generate_mime_types_gperf.cpp.o
│ │ │ │ ├── link.txt
│ │ │ │ └── progress.make
│ │ │ ├── progress.marks
│ │ │ └── tdmime_auto.dir
│ │ │ ├── build.make
│ │ │ ├── cmake_clean.cmake
│ │ │ ├── DependInfo.cmake
│ │ │ ├── depend.internal
│ │ │ ├── depend.make
│ │ │ └── progress.make
│ │ ├── cmake_install.cmake
│ │ ├── CTestTestfile.cmake
│ │ ├── generate_mime_types_gperf
│ │ └── Makefile
│ ├── libtdutils.a
│ ├── Makefile
│ └── td
│ └── utils
│ └── config.h
├── CHANGELOG.md
├── CMake
│ ├── AddCXXCompilerFlag.cmake
│ ├── FindReadline.cmake
│ └── iOS.cmake
├── CMakeLists.txt
├── Doxyfile
├── example
│ ├── cpp
│ │ ├── CMakeLists.txt
│ │ ├── README.md
│ │ ├── td_example.cpp
│ │ └── tdjson_example.cpp
│ ├── csharp
│ │ ├── README.md
│ │ ├── TdExample.cs
│ │ ├── TdExample.csproj
│ │ └── TdExample.sln
│ ├── go
│ │ └── main.go
│ ├── ios
│ │ ├── build-openssl.sh
│ │ ├── build.sh
│ │ └── README.md
│ ├── java
│ │ ├── CMakeLists.txt
│ │ ├── org
│ │ │ └── drinkless
│ │ │ └── tdlib
│ │ │ ├── Client.java
│ │ │ ├── example
│ │ │ │ └── Example.java
│ │ │ └── Log.java
│ │ ├── README.md
│ │ └── td_jni.cpp
│ ├── javascript
│ │ ├── example.js
│ │ ├── package.json
│ │ └── README.md
│ ├── python
│ │ ├── README.md
│ │ └── tdjson_example.py
│ ├── README.md
│ ├── ruby
│ │ ├── example.rb
│ │ ├── Gemfile
│ │ └── Gemfile.lock
│ ├── swift
│ │ ├── README.md
│ │ ├── src
│ │ │ ├── main.swift
│ │ │ └── td-Bridging-Header.h
│ │ └── td.xcodeproj
│ │ └── project.pbxproj
│ └── uwp
│ ├── app
│ │ ├── ApplicationInsights.config
│ │ ├── App.xaml
│ │ ├── App.xaml.cs
│ │ ├── Assets
│ │ │ ├── LockScreenLogo.scale-200.png
│ │ │ ├── SplashScreen.scale-200.png
│ │ │ ├── Square150x150Logo.scale-200.png
│ │ │ ├── Square44x44Logo.scale-200.png
│ │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png
│ │ │ ├── StoreLogo.png
│ │ │ └── Wide310x150Logo.scale-200.png
│ │ ├── MainPage.xaml
│ │ ├── MainPage.xaml.cs
│ │ ├── Package.appxmanifest
│ │ ├── project.json
│ │ ├── Properties
│ │ │ ├── AssemblyInfo.cs
│ │ │ └── Default.rd.xml
│ │ ├── TdApp.csproj
│ │ ├── TdApp.sln
│ │ └── TdApp_TemporaryKey.pfx
│ ├── build.ps1
│ ├── [Content_Types].xml
│ ├── extension.vsixmanifest
│ ├── LICENSE_1_0.txt
│ ├── README.md
│ └── SDKManifest.xml
├── format.ps1
├── format.sh
├── gen_git_commit_h.ps1
├── gen_git_commit_h.sh
├── LICENSE_1_0.txt
├── memprof
│ ├── memprof.cpp
│ └── memprof.h
├── README.md
├── sqlite
│ ├── CMakeLists.txt
│ └── sqlite
│ ├── LICENSE
│ ├── sqlite3.c
│ ├── sqlite3ext.h
│ ├── sqlite3.h
│ └── sqlite3session.h
├── src.ps1
├── src.sh
├── td
│ ├── generate
│ │ ├── auto
│ │ │ └── td
│ │ │ ├── mtproto
│ │ │ └── telegram
│ │ ├── CMakeLists.txt
│ │ ├── DotnetTlDocumentationGenerator.php
│ │ ├── DoxygenTlDocumentationGenerator.php
│ │ ├── generate_c.cpp
│ │ ├── generate_common.cpp
│ │ ├── generate_dotnet.cpp
│ │ ├── generate_java.cpp
│ │ ├── generate_json.cpp
│ │ ├── JavadocTlDocumentationGenerator.php
│ │ ├── remove_documentation.cpp
│ │ ├── scheme
│ │ │ ├── mtproto_api.tl
│ │ │ ├── mtproto_api.tlo
│ │ │ ├── secret_api.tl
│ │ │ ├── secret_api.tlo
│ │ │ ├── td_api.tl
│ │ │ ├── td_api.tlo
│ │ │ ├── telegram_api.tl
│ │ │ ├── telegram_api.tlo
│ │ │ └── update-tlo.sh
│ │ ├── TlDocumentationGenerator.php
│ │ ├── tl_json_converter.cpp
│ │ ├── tl_json_converter.h
│ │ ├── tl_writer_c.h
│ │ ├── tl_writer_cpp.cpp
│ │ ├── tl_writer_cpp.h
│ │ ├── tl_writer_dotnet.h
│ │ ├── tl_writer_h.cpp
│ │ ├── tl_writer_h.h
│ │ ├── tl_writer_hpp.cpp
│ │ ├── tl_writer_hpp.h
│ │ ├── tl_writer_java.cpp
│ │ ├── tl_writer_java.h
│ │ ├── tl_writer_jni_cpp.cpp
│ │ ├── tl_writer_jni_cpp.h
│ │ ├── tl_writer_jni_h.cpp
│ │ ├── tl_writer_jni_h.h
│ │ ├── tl_writer_td.cpp
│ │ └── tl_writer_td.h
│ ├── mtproto
│ │ ├── AuthData.cpp
│ │ ├── AuthData.h
│ │ ├── AuthKey.h
│ │ ├── crypto.cpp
│ │ ├── crypto.h
│ │ ├── CryptoStorer.h
│ │ ├── HandshakeActor.cpp
│ │ ├── HandshakeActor.h
│ │ ├── HandshakeConnection.h
│ │ ├── Handshake.cpp
│ │ ├── Handshake.h
│ │ ├── HttpTransport.cpp
│ │ ├── HttpTransport.h
│ │ ├── IStreamTransport.cpp
│ │ ├── IStreamTransport.h
│ │ ├── NoCryptoStorer.h
│ │ ├── PacketStorer.h
│ │ ├── PingConnection.h
│ │ ├── RawConnection.cpp
│ │ ├── RawConnection.h
│ │ ├── SessionConnection.cpp
│ │ ├── SessionConnection.h
│ │ ├── TcpTransport.cpp
│ │ ├── TcpTransport.h
│ │ ├── Transport.cpp
│ │ ├── Transport.h
│ │ ├── utils.cpp
│ │ └── utils.h
│ ├── telegram
│ │ ├── AccessRights.h
│ │ ├── AnimationsManager.cpp
│ │ ├── AnimationsManager.h
│ │ ├── AnimationsManager.hpp
│ │ ├── AudiosManager.cpp
│ │ ├── AudiosManager.h
│ │ ├── AudiosManager.hpp
│ │ ├── AuthManager.cpp
│ │ ├── AuthManager.h
│ │ ├── AuthManager.hpp
│ │ ├── CallActor.cpp
│ │ ├── CallActor.h
│ │ ├── CallbackQueriesManager.cpp
│ │ ├── CallbackQueriesManager.h
│ │ ├── CallDiscardReason.cpp
│ │ ├── CallDiscardReason.h
│ │ ├── CallId.h
│ │ ├── CallManager.cpp
│ │ ├── CallManager.h
│ │ ├── ChannelId.h
│ │ ├── ChatId.h
│ │ ├── cli.cpp
│ │ ├── ClientActor.cpp
│ │ ├── ClientActor.h
│ │ ├── Client.cpp
│ │ ├── ClientDotNet.cpp
│ │ ├── Client.h
│ │ ├── ClientJson.cpp
│ │ ├── ClientJson.h
│ │ ├── ConfigManager.cpp
│ │ ├── ConfigManager.h
│ │ ├── ConfigShared.cpp
│ │ ├── ConfigShared.h
│ │ ├── Contact.cpp
│ │ ├── Contact.h
│ │ ├── ContactsManager.cpp
│ │ ├── ContactsManager.h
│ │ ├── DelayDispatcher.cpp
│ │ ├── DelayDispatcher.h
│ │ ├── DeviceTokenManager.cpp
│ │ ├── DeviceTokenManager.h
│ │ ├── DhCache.cpp
│ │ ├── DhCache.h
│ │ ├── DhConfig.h
│ │ ├── DialogDb.cpp
│ │ ├── DialogDb.h
│ │ ├── DialogId.cpp
│ │ ├── DialogId.h
│ │ ├── DialogParticipant.cpp
│ │ ├── DialogParticipant.h
│ │ ├── DocumentsManager.cpp
│ │ ├── DocumentsManager.h
│ │ ├── DocumentsManager.hpp
│ │ ├── files
│ │ │ ├── FileDb.cpp
│ │ │ ├── FileDb.h
│ │ │ ├── FileDownloader.cpp
│ │ │ ├── FileDownloader.h
│ │ │ ├── FileFromBytes.cpp
│ │ │ ├── FileFromBytes.h
│ │ │ ├── FileGcParameters.cpp
│ │ │ ├── FileGcParameters.h
│ │ │ ├── FileGcWorker.cpp
│ │ │ ├── FileGcWorker.h
│ │ │ ├── FileGenerateManager.cpp
│ │ │ ├── FileGenerateManager.h
│ │ │ ├── FileHashUploader.cpp
│ │ │ ├── FileHashUploader.h
│ │ │ ├── FileId.h
│ │ │ ├── FileId.hpp
│ │ │ ├── FileLoaderActor.h
│ │ │ ├── FileLoader.cpp
│ │ │ ├── FileLoader.h
│ │ │ ├── FileLoaderUtils.cpp
│ │ │ ├── FileLoaderUtils.h
│ │ │ ├── FileLoadManager.cpp
│ │ │ ├── FileLoadManager.h
│ │ │ ├── FileLocation.h
│ │ │ ├── FileManager.cpp
│ │ │ ├── FileManager.h
│ │ │ ├── FileManager.hpp
│ │ │ ├── FileStats.cpp
│ │ │ ├── FileStats.h
│ │ │ ├── FileStatsWorker.cpp
│ │ │ ├── FileStatsWorker.h
│ │ │ ├── FileUploader.cpp
│ │ │ ├── FileUploader.h
│ │ │ ├── PartsManager.cpp
│ │ │ ├── PartsManager.h
│ │ │ ├── ResourceManager.cpp
│ │ │ ├── ResourceManager.h
│ │ │ └── ResourceState.h
│ │ ├── Game.cpp
│ │ ├── Game.h
│ │ ├── Game.hpp
│ │ ├── Global.cpp
│ │ ├── Global.h
│ │ ├── HashtagHints.cpp
│ │ ├── HashtagHints.h
│ │ ├── InlineQueriesManager.cpp
│ │ ├── InlineQueriesManager.h
│ │ ├── LanguagePackManager.cpp
│ │ ├── LanguagePackManager.h
│ │ ├── Location.cpp
│ │ ├── Location.h
│ │ ├── Log.cpp
│ │ ├── LogDotNet.cpp
│ │ ├── logevent
│ │ │ ├── LogEvent.h
│ │ │ ├── LogEventHelper.h
│ │ │ └── SecretChatEvent.h
│ │ ├── Log.h
│ │ ├── MessageEntity.cpp
│ │ ├── MessageEntity.h
│ │ ├── MessageEntity.hpp
│ │ ├── MessageId.h
│ │ ├── MessagesDb.cpp
│ │ ├── MessagesDb.h
│ │ ├── MessagesManager.cpp
│ │ ├── MessagesManager.h
│ │ ├── misc.cpp
│ │ ├── misc.h
│ │ ├── net
│ │ │ ├── AuthDataShared.cpp
│ │ │ ├── AuthDataShared.h
│ │ │ ├── ConnectionCreator.cpp
│ │ │ ├── ConnectionCreator.h
│ │ │ ├── DcAuthManager.cpp
│ │ │ ├── DcAuthManager.h
│ │ │ ├── DcId.h
│ │ │ ├── DcOptions.h
│ │ │ ├── DcOptionsSet.cpp
│ │ │ ├── DcOptionsSet.h
│ │ │ ├── MtprotoHeader.cpp
│ │ │ ├── MtprotoHeader.h
│ │ │ ├── NetActor.cpp
│ │ │ ├── NetActor.h
│ │ │ ├── NetQueryCounter.cpp
│ │ │ ├── NetQueryCounter.h
│ │ │ ├── NetQuery.cpp
│ │ │ ├── NetQueryCreator.cpp
│ │ │ ├── NetQueryCreator.h
│ │ │ ├── NetQueryDelayer.cpp
│ │ │ ├── NetQueryDelayer.h
│ │ │ ├── NetQueryDispatcher.cpp
│ │ │ ├── NetQueryDispatcher.h
│ │ │ ├── NetQuery.h
│ │ │ ├── NetStatsManager.cpp
│ │ │ ├── NetStatsManager.h
│ │ │ ├── NetType.h
│ │ │ ├── PublicRsaKeyShared.cpp
│ │ │ ├── PublicRsaKeyShared.h
│ │ │ ├── PublicRsaKeyWatchdog.cpp
│ │ │ ├── PublicRsaKeyWatchdog.h
│ │ │ ├── Session.cpp
│ │ │ ├── Session.h
│ │ │ ├── SessionMultiProxy.cpp
│ │ │ ├── SessionMultiProxy.h
│ │ │ ├── SessionProxy.cpp
│ │ │ ├── SessionProxy.h
│ │ │ └── TempAuthKeyWatchdog.h
│ │ ├── PasswordManager.cpp
│ │ ├── PasswordManager.h
│ │ ├── Payments.cpp
│ │ ├── Payments.h
│ │ ├── Payments.hpp
│ │ ├── Photo.cpp
│ │ ├── Photo.h
│ │ ├── Photo.hpp
│ │ ├── PrivacyManager.cpp
│ │ ├── PrivacyManager.h
│ │ ├── PtsManager.h
│ │ ├── ReplyMarkup.cpp
│ │ ├── ReplyMarkup.h
│ │ ├── ReplyMarkup.hpp
│ │ ├── SecretChatActor.cpp
│ │ ├── SecretChatActor.h
│ │ ├── SecretChatDb.cpp
│ │ ├── SecretChatDb.h
│ │ ├── SecretChatId.h
│ │ ├── SecretChatsManager.cpp
│ │ ├── SecretChatsManager.h
│ │ ├── SecretInputMedia.h
│ │ ├── SecureManager.cpp
│ │ ├── SecureManager.h
│ │ ├── SecureStorage.cpp
│ │ ├── SecureStorage.h
│ │ ├── SecureValue.cpp
│ │ ├── SecureValue.h
│ │ ├── SecureValue.hpp
│ │ ├── SequenceDispatcher.cpp
│ │ ├── SequenceDispatcher.h
│ │ ├── StateManager.cpp
│ │ ├── StateManager.h
│ │ ├── StickersManager.cpp
│ │ ├── StickersManager.h
│ │ ├── StickersManager.hpp
│ │ ├── StorageManager.cpp
│ │ ├── StorageManager.h
│ │ ├── TdCallback.h
│ │ ├── td_c_client.cpp
│ │ ├── td_c_client.h
│ │ ├── Td.cpp
│ │ ├── TdDb.cpp
│ │ ├── TdDb.h
│ │ ├── td_emscripten.cpp
│ │ ├── Td.h
│ │ ├── td_json_client.cpp
│ │ ├── td_json_client.h
│ │ ├── td_log.cpp
│ │ ├── td_log.h
│ │ ├── TdParameters.h
│ │ ├── TermsOfService.cpp
│ │ ├── TermsOfService.h
│ │ ├── TopDialogManager.cpp
│ │ ├── TopDialogManager.h
│ │ ├── UniqueId.h
│ │ ├── UpdatesManager.cpp
│ │ ├── UpdatesManager.h
│ │ ├── UserId.h
│ │ ├── Version.h
│ │ ├── VideoNotesManager.cpp
│ │ ├── VideoNotesManager.h
│ │ ├── VideoNotesManager.hpp
│ │ ├── VideosManager.cpp
│ │ ├── VideosManager.h
│ │ ├── VideosManager.hpp
│ │ ├── VoiceNotesManager.cpp
│ │ ├── VoiceNotesManager.h
│ │ ├── VoiceNotesManager.hpp
│ │ ├── WebPageId.h
│ │ ├── WebPagesManager.cpp
│ │ └── WebPagesManager.h
│ └── tl
│ ├── tl_dotnet_object.h
│ ├── tl_jni_object.cpp
│ ├── tl_jni_object.h
│ ├── tl_json.h
│ ├── TlObject.h
│ ├── tl_object_parse.h
│ └── tl_object_store.h
├── tdactor
│ ├── CMakeLists.txt
│ ├── example
│ │ └── example.cpp
│ ├── td
│ │ └── actor
│ │ ├── actor.h
│ │ ├── Condition.h
│ │ ├── impl
│ │ │ ├── Actor-decl.h
│ │ │ ├── Actor.h
│ │ │ ├── ActorId-decl.h
│ │ │ ├── ActorId.h
│ │ │ ├── ActorInfo-decl.h
│ │ │ ├── ActorInfo.h
│ │ │ ├── ConcurrentScheduler.cpp
│ │ │ ├── ConcurrentScheduler.h
│ │ │ ├── EventFull-decl.h
│ │ │ ├── EventFull.h
│ │ │ ├── Event.h
│ │ │ ├── Scheduler.cpp
│ │ │ ├── Scheduler-decl.h
│ │ │ └── Scheduler.h
│ │ ├── MultiPromise.cpp
│ │ ├── MultiPromise.h
│ │ ├── PromiseFuture.h
│ │ ├── SchedulerLocalStorage.h
│ │ ├── SignalSlot.h
│ │ ├── SleepActor.h
│ │ ├── Timeout.cpp
│ │ └── Timeout.h
│ └── test
│ ├── actors_bugs.cpp
│ ├── actors_main.cpp
│ ├── actors_simple.cpp
│ └── actors_workers.cpp
├── tdclientjson_export_list
├── TdConfig.cmake
├── tddb
│ ├── CMakeLists.txt
│ └── td
│ └── db
│ ├── binlog
│ │ ├── Binlog.cpp
│ │ ├── binlog_dump.cpp
│ │ ├── BinlogEvent.cpp
│ │ ├── BinlogEvent.h
│ │ ├── Binlog.h
│ │ ├── BinlogHelper.h
│ │ ├── BinlogInterface.h
│ │ ├── ConcurrentBinlog.cpp
│ │ ├── ConcurrentBinlog.h
│ │ └── detail
│ │ ├── BinlogEventsBuffer.cpp
│ │ ├── BinlogEventsBuffer.h
│ │ ├── BinlogEventsProcessor.cpp
│ │ └── BinlogEventsProcessor.h
│ ├── BinlogKeyValue.h
│ ├── DbKey.h
│ ├── detail
│ │ ├── RawSqliteDb.cpp
│ │ └── RawSqliteDb.h
│ ├── KeyValueSyncInterface.h
│ ├── Pmc.h
│ ├── SeqKeyValue.h
│ ├── SqliteConnectionSafe.h
│ ├── SqliteDb.cpp
│ ├── SqliteDb.h
│ ├── SqliteKeyValueAsync.cpp
│ ├── SqliteKeyValueAsync.h
│ ├── SqliteKeyValue.cpp
│ ├── SqliteKeyValue.h
│ ├── SqliteKeyValueSafe.h
│ ├── SqliteStatement.cpp
│ ├── SqliteStatement.h
│ └── TsSeqKeyValue.h
├── tdnet
│ ├── CMakeLists.txt
│ └── td
│ └── net
│ ├── GetHostByNameActor.cpp
│ ├── GetHostByNameActor.h
│ ├── HttpChunkedByteFlow.cpp
│ ├── HttpChunkedByteFlow.h
│ ├── HttpConnectionBase.cpp
│ ├── HttpConnectionBase.h
│ ├── HttpContentLengthByteFlow.cpp
│ ├── HttpContentLengthByteFlow.h
│ ├── HttpFile.cpp
│ ├── HttpFile.h
│ ├── HttpHeaderCreator.h
│ ├── HttpInboundConnection.cpp
│ ├── HttpInboundConnection.h
│ ├── HttpOutboundConnection.cpp
│ ├── HttpOutboundConnection.h
│ ├── HttpProxy.cpp
│ ├── HttpProxy.h
│ ├── HttpQuery.cpp
│ ├── HttpQuery.h
│ ├── HttpReader.cpp
│ ├── HttpReader.h
│ ├── NetStats.h
│ ├── Socks5.cpp
│ ├── Socks5.h
│ ├── SslStream.cpp
│ ├── SslStream.h
│ ├── TcpListener.cpp
│ ├── TcpListener.h
│ ├── TransparentProxy.cpp
│ ├── TransparentProxy.h
│ ├── Wget.cpp
│ └── Wget.h
├── tdtl
│ ├── CMakeLists.txt
│ └── td
│ └── tl
│ ├── tl_config.cpp
│ ├── tl_config.h
│ ├── tl_core.cpp
│ ├── tl_core.h
│ ├── tl_file_outputer.cpp
│ ├── tl_file_outputer.h
│ ├── tl_file_utils.cpp
│ ├── tl_file_utils.h
│ ├── tl_generate.cpp
│ ├── tl_generate.h
│ ├── tl_outputer.cpp
│ ├── tl_outputer.h
│ ├── tl_simple.h
│ ├── tl_simple_parser.h
│ ├── tl_string_outputer.cpp
│ ├── tl_string_outputer.h
│ ├── tl_writer.cpp
│ └── tl_writer.h
├── tdutils
│ ├── CMakeLists.txt
│ ├── generate
│ │ ├── auto
│ │ │ ├── extension_to_mime_type.cpp
│ │ │ ├── extension_to_mime_type.gperf
│ │ │ ├── mime_type_to_extension.cpp
│ │ │ └── mime_type_to_extension.gperf
│ │ ├── CMakeLists.txt
│ │ ├── generate_mime_types_gperf.cpp
│ │ └── mime_types.txt
│ ├── td
│ │ └── utils
│ │ ├── AesCtrByteFlow.h
│ │ ├── base64.cpp
│ │ ├── base64.h
│ │ ├── benchmark.h
│ │ ├── BigNum.cpp
│ │ ├── BigNum.h
│ │ ├── buffer.cpp
│ │ ├── BufferedFd.h
│ │ ├── BufferedReader.h
│ │ ├── buffer.h
│ │ ├── ByteFlow.h
│ │ ├── ChangesProcessor.h
│ │ ├── Closure.h
│ │ ├── common.h
│ │ ├── config.h.in
│ │ ├── Container.h
│ │ ├── crypto.cpp
│ │ ├── crypto.h
│ │ ├── Enumerator.h
│ │ ├── FileLog.cpp
│ │ ├── FileLog.h
│ │ ├── filesystem.cpp
│ │ ├── filesystem.h
│ │ ├── find_boundary.cpp
│ │ ├── find_boundary.h
│ │ ├── FloodControlFast.h
│ │ ├── FloodControlStrict.h
│ │ ├── format.h
│ │ ├── GitInfo.cpp
│ │ ├── GitInfo.h
│ │ ├── GzipByteFlow.cpp
│ │ ├── GzipByteFlow.h
│ │ ├── Gzip.cpp
│ │ ├── Gzip.h
│ │ ├── HazardPointers.h
│ │ ├── Heap.h
│ │ ├── Hints.cpp
│ │ ├── Hints.h
│ │ ├── HttpUrl.cpp
│ │ ├── HttpUrl.h
│ │ ├── int_types.h
│ │ ├── invoke.h
│ │ ├── JsonBuilder.cpp
│ │ ├── JsonBuilder.h
│ │ ├── List.h
│ │ ├── logging.cpp
│ │ ├── logging.h
│ │ ├── MemoryLog.h
│ │ ├── MimeType.cpp
│ │ ├── MimeType.h
│ │ ├── misc.cpp
│ │ ├── misc.h
│ │ ├── MovableValue.h
│ │ ├── MpmcQueue.h
│ │ ├── MpmcWaiter.h
│ │ ├── MpscLinkQueue.h
│ │ ├── MpscPollableQueue.h
│ │ ├── Named.h
│ │ ├── ObjectPool.h
│ │ ├── Observer.h
│ │ ├── optional.h
│ │ ├── OptionsParser.h
│ │ ├── OrderedEventsProcessor.h
│ │ ├── overloaded.h
│ │ ├── Parser.h
│ │ ├── PathView.h
│ │ ├── port
│ │ │ ├── Clocks.cpp
│ │ │ ├── Clocks.h
│ │ │ ├── config.h
│ │ │ ├── CxCli.h
│ │ │ ├── detail
│ │ │ │ ├── Epoll.cpp
│ │ │ │ ├── Epoll.h
│ │ │ │ ├── EventFdBsd.cpp
│ │ │ │ ├── EventFdBsd.h
│ │ │ │ ├── EventFdLinux.cpp
│ │ │ │ ├── EventFdLinux.h
│ │ │ │ ├── EventFdWindows.cpp
│ │ │ │ ├── EventFdWindows.h
│ │ │ │ ├── KQueue.cpp
│ │ │ │ ├── KQueue.h
│ │ │ │ ├── Poll.cpp
│ │ │ │ ├── Poll.h
│ │ │ │ ├── Select.cpp
│ │ │ │ ├── Select.h
│ │ │ │ ├── ThreadIdGuard.cpp
│ │ │ │ ├── ThreadIdGuard.h
│ │ │ │ ├── ThreadPthread.h
│ │ │ │ ├── ThreadStl.h
│ │ │ │ ├── WineventPoll.cpp
│ │ │ │ └── WineventPoll.h
│ │ │ ├── EventFdBase.h
│ │ │ ├── EventFd.h
│ │ │ ├── Fd.cpp
│ │ │ ├── Fd.h
│ │ │ ├── FileFd.cpp
│ │ │ ├── FileFd.h
│ │ │ ├── IPAddress.cpp
│ │ │ ├── IPAddress.h
│ │ │ ├── path.cpp
│ │ │ ├── path.h
│ │ │ ├── platform.h
│ │ │ ├── PollBase.h
│ │ │ ├── Poll.h
│ │ │ ├── RwMutex.h
│ │ │ ├── ServerSocketFd.cpp
│ │ │ ├── ServerSocketFd.h
│ │ │ ├── signals.cpp
│ │ │ ├── signals.h
│ │ │ ├── sleep.cpp
│ │ │ ├── sleep.h
│ │ │ ├── SocketFd.cpp
│ │ │ ├── SocketFd.h
│ │ │ ├── Stat.cpp
│ │ │ ├── Stat.h
│ │ │ ├── thread.h
│ │ │ ├── thread_local.cpp
│ │ │ ├── thread_local.h
│ │ │ ├── wstring_convert.cpp
│ │ │ └── wstring_convert.h
│ │ ├── queue.h
│ │ ├── Random.cpp
│ │ ├── Random.h
│ │ ├── ScopeGuard.h
│ │ ├── SharedObjectPool.h
│ │ ├── Slice-decl.h
│ │ ├── Slice.h
│ │ ├── SpinLock.h
│ │ ├── StackAllocator.cpp
│ │ ├── StackAllocator.h
│ │ ├── Status.cpp
│ │ ├── Status.h
│ │ ├── StorerBase.h
│ │ ├── Storer.h
│ │ ├── StringBuilder.cpp
│ │ ├── StringBuilder.h
│ │ ├── tests.h
│ │ ├── Time.cpp
│ │ ├── TimedStat.h
│ │ ├── Time.h
│ │ ├── Timer.cpp
│ │ ├── Timer.h
│ │ ├── tl_helpers.h
│ │ ├── tl_parsers.cpp
│ │ ├── tl_parsers.h
│ │ ├── tl_storers.h
│ │ ├── translit.cpp
│ │ ├── translit.h
│ │ ├── type_traits.h
│ │ ├── unicode.cpp
│ │ ├── unicode.h
│ │ ├── utf8.cpp
│ │ ├── utf8.h
│ │ └── Variant.h
│ └── test
│ ├── crypto.cpp
│ ├── Enumerator.cpp
│ ├── filesystem.cpp
│ ├── gzip.cpp
│ ├── HazardPointers.cpp
│ ├── heap.cpp
│ ├── json.cpp
│ ├── misc.cpp
│ ├── MpmcQueue.cpp
│ ├── MpmcWaiter.cpp
│ ├── MpscLinkQueue.cpp
│ ├── OrderedEventsProcessor.cpp
│ ├── pq.cpp
│ ├── SharedObjectPool.cpp
│ └── variant.cpp
└── test
├── CMakeLists.txt
├── data.cpp
├── data.h
├── db.cpp
├── fuzz_url.cpp
├── http.cpp
├── main.cpp
├── message_entities.cpp
├── mtproto.cpp
├── secret.cpp
├── secure_storage.cpp
├── string_cleaning.cpp
├── tdclient.cpp
├── tests_runner.cpp
├── TestsRunner.cpp
├── tests_runner.h
└── TestsRunner.h
What OS you trying to compile on? Have you refer to the compilation instructions written in the README.md?
Please also checkout the examples directory, you can pass your options like:
const client = new Client({
apiId: 'YOUR_API_ID',
apiHash: 'YOUR_API_HASH',
auth: {
type: 'user',
value: 'YOUR_PHONE_NUMBER',
},
})
my OS is ubuntu 16
when I say options I mean these two
binaryPath
dataDir
thanks a lot for fast answer
so lets forget about my problem for one second and clear some thing after I compiled tdlib into build directory what file/s should I copy into my root directory of my node project
when I compile tdlib with my MacBook Air it produces a libtdjson.dylib it should be equal version of libtdjson.co but I'm not sure why Ubuntu version doesn't produce this or some thing similar
by the way I just need this single file to use your library?
I fixed it it was a problem with gcc thanks dude really thankful about your awsome work here
Good to hear the problem has been fixed. Yes you just need the libtdjson.(dylib,so,dll) file to use this lib.