Fix some includes and spelling.

GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
This commit is contained in:
levlam 2018-01-28 21:13:25 +03:00
parent a47d5d5511
commit 62bb714421
7 changed files with 9 additions and 5 deletions

View File

@ -5,7 +5,7 @@ For Javadoc documentation generation PHP is needed.
TDLib should be prebuilt for using with Java and installed to local subdirectory `td/`:
```
cd <path to tdlib sources>
cd <path to TDLib sources>
mkdir jnibuild
cd jnibuild
cmake -DCMAKE_BUILD_TYPE=Release -DTD_ENABLE_JNI=ON -DCMAKE_INSTALL_PREFIX:PATH=../example/java/td ..
@ -15,10 +15,10 @@ If you want to compile TDLib for 64-bit Java on Windows, you will also need to a
Then you can build this example:
```
cd <path to tdlib sources>/example/java
cd <path to TDLib sources>/example/java
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DTd_DIR=<full path to tdlib sources>/example/java/td/lib/cmake/Td -DCMAKE_INSTALL_PREFIX:PATH=.. ..
cmake -DCMAKE_BUILD_TYPE=Release -DTd_DIR=<full path to TDLib sources>/example/java/td/lib/cmake/Td -DCMAKE_INSTALL_PREFIX:PATH=.. ..
cmake --build . --target install
```
@ -26,7 +26,7 @@ Compiled TDLib shared library and Java example after that will be placed in bin/
Now you can run Java example:
```
cd <path to tdlib sources>/example/java/bin
cd <path to TDLib sources>/example/java/bin
java -Djava.library.path=. org/drinkless/tdlib/example/Example
```

View File

@ -6,6 +6,7 @@
//
#include <td/telegram/Client.h>
#include <td/telegram/Log.h>
#include <td/telegram/td_api.h>
#include <td/tl/tl_jni_object.h>

View File

@ -13,7 +13,6 @@
#include "td/tl/tl_config.h"
#include "td/tl/tl_generate.h"
#include <algorithm>
#include <string>
#include <vector>

View File

@ -18,6 +18,7 @@
#include "td/utils/format.h"
#include "td/utils/JsonBuilder.h"
#include "td/utils/logging.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"
#include "td/utils/tl_helpers.h"

View File

@ -9,6 +9,7 @@
#include "td/utils/common.h"
#include "td/utils/FileLog.h"
#include "td/utils/logging.h"
#include "td/utils/Slice.h"
#include <algorithm>

View File

@ -7,6 +7,7 @@
#include "td/utils/base64.h"
#include "td/utils/common.h"
#include "td/utils/logging.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"

View File

@ -16,6 +16,7 @@
#include "collection.h"
#include <cstdint>
#include <map>
#include <mutex>