tdlib / td

Cross-platform library for building Telegram clients
https://core.telegram.org/tdlib
Boost Software License 1.0
7.11k stars 1.44k forks source link

Fail to compile, latest commit, for watchOS #2337

Closed vincentneo closed 1 year ago

vincentneo commented 1 year ago

Attempting to build https://github.com/tdlib/td/commit/7d9a4436507e0c71b0d9ac1bc839dc21058fe297. Builds fine for macOS and iOS, fails for watchOS. Unsure about watchOS simulator/tvOS. Xcode version is 14.2 (14C18).

Log:

Platform = watchOS
iOS platform = WATCHOS
OpenSSL path = /Users/vincent/Downloads/td-master1.8.12/example/ios/third_party/openssl/watchOS
-- Toolchain using default iOS SDK: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.1.sdk
-- The iOS architectures: armv7k;arm64_32;arm64
-- The iOS architectures: armv7k;arm64_32;arm64
-- The CXX compiler identification is AppleClang 14.0.0.14000029
-- The C compiler identification is AppleClang 14.0.0.14000029
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/g++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Could NOT find ccache (this is NOT an error)
-- Found OpenSSL: /Users/vincent/Downloads/td-master1.8.12/example/ios/third_party/openssl/watchOS/include /Users/vincent/Downloads/td-master1.8.12/example/ios/third_party/openssl/watchOS/lib/libcrypto.a;/Users/vincent/Downloads/td-master1.8.12/example/ios/third_party/openssl/watchOS/lib/libssl.a
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Performing Test HAVE_STD14
-- Performing Test HAVE_STD14 - Success
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2
-- Performing Test HAVE_CXX_FLAG_WIMPLICIT_FALLTHROUGH_2 - Failed
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH
-- Performing Test HAVE_CXX_FLAG_WPOINTER_ARITH - Success
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL
-- Performing Test HAVE_CXX_FLAG_WCAST_QUAL - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE
-- Performing Test HAVE_CXX_FLAG_WSIGN_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_BRANCHES - Failed
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND
-- Performing Test HAVE_CXX_FLAG_WDUPLICATED_COND - Failed
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO
-- Performing Test HAVE_CXX_FLAG_WALLOC_ZERO - Failed
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP
-- Performing Test HAVE_CXX_FLAG_WLOGICAL_OP - Failed
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE
-- Performing Test HAVE_CXX_FLAG_WTAUTOLOGICAL_COMPARE - Success
-- Performing Test HAVE_CXX_FLAG_WVLA
-- Performing Test HAVE_CXX_FLAG_WVLA - Success
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR
-- Performing Test HAVE_CXX_FLAG_WNON_VIRTUAL_DTOR - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER
-- Performing Test HAVE_CXX_FLAG_WUNUSED_PARAMETER - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION
-- Performing Test HAVE_CXX_FLAG_WSIGN_CONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_WCXX14_COMPAT_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED
-- Performing Test HAVE_CXX_FLAG_WDEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT
-- Performing Test HAVE_CXX_FLAG_WUNUSED_COMMAND_LINE_ARGUMENT - Success
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS
-- Performing Test HAVE_CXX_FLAG_QUNUSED_ARGUMENTS - Success
-- Performing Test HAVE_CXX_FLAG_WODR
-- Performing Test HAVE_CXX_FLAG_WODR - Success
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING
-- Performing Test HAVE_CXX_FLAG_FLTO_ODR_TYPE_MERGING - Failed
-- Git state: GITDIR-NOTFOUND
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.1.sdk/usr/lib/libz.tbd (found version "1.2.11") 
-- Found ZLIB: /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.1.sdk/usr/include /Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS9.1.sdk/usr/lib/libz.tbd
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/vincent/Downloads/td-master1.8.12/example/ios/build/build-watchOS
[  0%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_config.cpp.o
[  1%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_file_outputer.cpp.o
[  1%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_generate.cpp.o
[  1%] Building C object sqlite/CMakeFiles/tdsqlite.dir/sqlite/sqlite3.c.o
[  2%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_outputer.cpp.o
[  2%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_core.cpp.o
[  2%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_file_utils.cpp.o
[  2%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/Clocks.cpp.o
/Users/vincent/Downloads/td-master1.8.12/sqlite/sqlite/sqlite3.c:37517:8: warning: "gethostuuid() is disabled." [-W#warnings]
#      warning "gethostuuid() is disabled."
       ^
[  2%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/FileFd.cpp.o
[  2%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_string_outputer.cpp.o
[  2%] Building CXX object tdtl/CMakeFiles/tdtl.dir/td/tl/tl_writer.cpp.o
[  3%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/IPAddress.cpp.o
[  3%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/MemoryMapping.cpp.o
[  3%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/path.cpp.o
[  3%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/platform.cpp.o
[  4%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/PollFlags.cpp.o
[  4%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/rlimit.cpp.o
[  4%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/ServerSocketFd.cpp.o
[  4%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/signals.cpp.o
[  5%] Linking CXX static library libtdtl.a
[  5%] Built target tdtl
[  6%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/sleep.cpp.o
[  6%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/SocketFd.cpp.o
[  6%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/stacktrace.cpp.o
[  7%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/Stat.cpp.o
[  7%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/StdStreams.cpp.o
[  7%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/thread_local.cpp.o
[  7%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/UdpSocketFd.cpp.o
[  8%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/uname.cpp.o
[  8%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/user.cpp.o
[  8%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/wstring_convert.cpp.o
[  8%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/Epoll.cpp.o
[  9%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/EventFdBsd.cpp.o
[  9%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/EventFdLinux.cpp.o
[  9%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/EventFdWindows.cpp.o
[ 10%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/Iocp.cpp.o
[ 10%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/KQueue.cpp.o
[ 10%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/NativeFd.cpp.o
[ 10%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/Poll.cpp.o
[ 11%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/Select.cpp.o
[ 11%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/ThreadIdGuard.cpp.o
[ 11%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/ThreadPthread.cpp.o
[ 11%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/port/detail/WineventPoll.cpp.o
[ 12%] Building CXX object tdutils/CMakeFiles/tdutils.dir/generate/auto/mime_type_to_extension.cpp.o
[ 12%] Building CXX object tdutils/CMakeFiles/tdutils.dir/generate/auto/extension_to_mime_type.cpp.o
[ 12%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/AsyncFileLog.cpp.o
[ 13%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/base64.cpp.o
[ 13%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/BigNum.cpp.o
[ 13%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/buffer.cpp.o
[ 13%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/BufferedUdp.cpp.o
[ 14%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/check.cpp.o
[ 14%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/crypto.cpp.o
[ 14%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/emoji.cpp.o
[ 14%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/ExitGuard.cpp.o
[ 15%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/FileLog.cpp.o
[ 15%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/filesystem.cpp.o
[ 15%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/find_boundary.cpp.o
[ 16%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/FlatHashTable.cpp.o
[ 16%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/FloodControlGlobal.cpp.o
[ 16%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Gzip.cpp.o
[ 16%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/GzipByteFlow.cpp.o
[ 17%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Hints.cpp.o
[ 17%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/HttpUrl.cpp.o
[ 17%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/JsonBuilder.cpp.o
[ 17%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/logging.cpp.o
[ 18%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/misc.cpp.o
[ 18%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/MpmcQueue.cpp.o
[ 18%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/OptionParser.cpp.o
[ 19%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/PathView.cpp.o
[ 19%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Random.cpp.o
[ 19%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/SharedSlice.cpp.o
[ 19%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Slice.cpp.o
[ 20%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/StackAllocator.cpp.o
[ 20%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Status.cpp.o
[ 20%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/StringBuilder.cpp.o
[ 20%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/tests.cpp.o
[ 21%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Time.cpp.o
[ 21%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/Timer.cpp.o
[ 21%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/TsFileLog.cpp.o
[ 22%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/tl_parsers.cpp.o
[ 22%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/translit.cpp.o
[ 22%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/TsCerr.cpp.o
[ 22%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/TsLog.cpp.o
[ 23%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/unicode.cpp.o
[ 23%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/utf8.cpp.o
[ 23%] Building CXX object tdutils/CMakeFiles/tdutils.dir/td/utils/MimeType.cpp.o
[ 24%] Linking CXX static library libtdutils.a
[ 24%] Built target tdutils
[ 24%] Building CXX object CMakeFiles/memprof.dir/memprof/memprof.cpp.o
[ 24%] Building CXX object CMakeFiles/tdapi.dir/td/generate/auto/td/telegram/td_api.cpp.o
[ 24%] Building CXX object tdactor/CMakeFiles/tdactor.dir/td/actor/impl/Scheduler.cpp.o
[ 24%] Building CXX object tdactor/CMakeFiles/tdactor.dir/td/actor/ConcurrentScheduler.cpp.o
[ 24%] Building CXX object tdactor/CMakeFiles/tdactor.dir/td/actor/MultiPromise.cpp.o
[ 25%] Building CXX object tdactor/CMakeFiles/tdactor.dir/td/actor/MultiTimeout.cpp.o
[ 25%] Linking CXX static library libmemprof.a
[ 25%] Built target memprof
[ 25%] Linking CXX static library libtdactor.a
[ 25%] Built target tdactor
[ 25%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpChunkedByteFlow.cpp.o
[ 25%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpInboundConnection.cpp.o
[ 26%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/GetHostByNameActor.cpp.o
[ 26%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpContentLengthByteFlow.cpp.o
[ 26%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpFile.cpp.o
[ 26%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpConnectionBase.cpp.o
[ 27%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpOutboundConnection.cpp.o
[ 27%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpProxy.cpp.o
[ 27%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpQuery.cpp.o
[ 27%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/HttpReader.cpp.o
[ 28%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/Socks5.cpp.o
[ 28%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/SslCtx.cpp.o
1 warning generated.
[ 28%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/SslStream.cpp.o
/Users/vincent/Downloads/td-master1.8.12/sqlite/sqlite/sqlite3.c:37517:8: warning: "gethostuuid() is disabled." [-W#warnings]
#      warning "gethostuuid() is disabled."
       ^
[ 29%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/TcpListener.cpp.o
[ 29%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/TransparentProxy.cpp.o
[ 29%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/Wget.cpp.o
[ 29%] Building CXX object tdnet/CMakeFiles/tdnet.dir/td/net/DarwinHttp.mm.o
[ 30%] Linking CXX static library libtdnet.a
[ 30%] Built target tdnet
1 warning generated.
/Users/vincent/Downloads/td-master1.8.12/sqlite/sqlite/sqlite3.c:37517:8: warning: "gethostuuid() is disabled." [-W#warnings]
#      warning "gethostuuid() is disabled."
       ^
[ 31%] Linking CXX static library libtdapi.a
[ 31%] Built target tdapi
1 warning generated.
[ 31%] Linking C static library libtdsqlite.a
[ 31%] Built target tdsqlite
[ 32%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/Binlog.cpp.o
[ 32%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/BinlogEvent.cpp.o
[ 32%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/ConcurrentBinlog.cpp.o
[ 32%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/detail/BinlogEventsBuffer.cpp.o
[ 32%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/binlog/detail/BinlogEventsProcessor.cpp.o
[ 33%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/SqliteConnectionSafe.cpp.o
[ 33%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/SqliteDb.cpp.o
[ 33%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/SqliteKeyValue.cpp.o
[ 33%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/SqliteKeyValueAsync.cpp.o
[ 33%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/SqliteStatement.cpp.o
[ 34%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/TQueue.cpp.o
[ 34%] Building CXX object tddb/CMakeFiles/tddb.dir/td/db/detail/RawSqliteDb.cpp.o
[ 34%] Linking CXX static library libtddb.a
[ 34%] Built target tddb
[ 34%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/AuthData.cpp.o
[ 35%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/DhHandshake.cpp.o
[ 35%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/ConnectionManager.cpp.o
[ 35%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/HttpTransport.cpp.o
[ 35%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/Handshake.cpp.o
[ 35%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/IStreamTransport.cpp.o
[ 36%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/HandshakeActor.cpp.o
[ 36%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/KDF.cpp.o
[ 37%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/Ping.cpp.o
[ 37%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/PingConnection.cpp.o
[ 37%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/ProxySecret.cpp.o
[ 37%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/RawConnection.cpp.o
[ 38%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/RSA.cpp.o
[ 38%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/SessionConnection.cpp.o
[ 38%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/TcpTransport.cpp.o
/Users/vincent/Downloads/td-master1.8.12/td/mtproto/RawConnection.cpp:392:9: error: use of undeclared identifier 'on_read'
        on_read(packet.size(), callback);
        ^
[ 39%] Building CXX object CMakeFiles/tdcore.dir/td/mtproto/TlsInit.cpp.o
1 error generated.
make[2]: *** [CMakeFiles/tdcore.dir/td/mtproto/RawConnection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/tdcore.dir/all] Error 2
make: *** [all] Error 2
levlam commented 1 year ago

Thank you. I have just pushed a fix. Could you check the latest version?

vincentneo commented 1 year ago

Yup works fine now! Thanks for fixing!