Closed DmitrySoftware closed 6 years ago
Warinngs are false positives from new GCC. TDLib is compiled and installed fine to <path_to_TDLib_sources>/example/java/td
, but you need to build also JNI bindigns. You need to follow second part of https://github.com/tdlib/td/blob/master/example/java/README.md from "Then you can build this example:".
Thanks for your help!
Hello,
I'm following TDLib Java example building guide and in can't find generated org.drinkless.tdlib.TdApi.java in/example/java, did I miss something?
I'm building on linux 64-bit and it seems to compile just fine with a few warnings. I will attach some output.
I've tried building with oracle jdk and openjdk with the same result.
Also, I've tried precompiled version, but it requires OpenSSL 1.0.2 which is not available in my target system.
Thanks in advance.
Dependencies
C++14 compatible compiler: gcc 7.3.1 OpenSSL: 1.1.0i-fips zlib: 1.2.11-lp150.2.3.1 gperf: GNU gperf 3.1 CMake: 3.10.2 PHP: 7.2.5 JDK: tried with oracle jdk1.8.0_191-amd64 and openjdk version "11.0.1" 2018-10-16 by changing JAVA_HOME environment variable
Contents of "/example/java" directory:
Warnings
...
cmake --build . --target install
Output of "installing" phase: