|
1 | 1 | * Revision: 3.4 |
2 | | -* Since v3.4, download ```ndk-wsls-3.x.zip``` from [Releases](https://github.com/simdsoft/wsLongPaths/releases) or build all binaries by youself except gnumake.exe with ```cmake + vs2019``` before run install.bat, see follow build steps: |
| 2 | +* Since v3.4, download ```ndk-wsls-3.x.zip``` from [releases](https://github.com/simdsoft/wsLongPaths/releases) or build all binaries by youself except gnumake.exe with ```vs2019 + cmake``` before run install.bat, see follow build steps: |
3 | 3 | 1. Ensure vs2019 and cmake-3.10 or later installed |
4 | | - 2. than run follow commands: |
5 | | -```bat |
6 | | -git clone https://github.com/simdsoft/wsLongPaths |
7 | | -cd wsLongPaths |
| 4 | + 2. Run follow commands: |
| 5 | + ```bat |
| 6 | + git clone https://github.com/simdsoft/wsLongPaths |
| 7 | + cd wsLongPaths |
8 | 8 |
|
9 | | -rem Build x86 binaries, android sdk require x86 patch binaries |
10 | | -cmake -B build_x86 -A Win32 |
11 | | -cmake --build build_x86 --config Release --target INSTALL |
| 9 | + rem Build x86 binaries, android sdk require x86 patch binaries |
| 10 | + cmake -B build_x86 -A Win32 |
| 11 | + cmake --build build_x86 --config Release --target INSTALL |
12 | 12 |
|
13 | | -rem Build x64 binaries, android-ndk x64 |
14 | | -cmake -B build_x64 |
15 | | -cmake --build build_x64 --config Release --target INSTALL |
16 | | -``` |
| 13 | + rem Build x64 binaries, android-ndk x64 |
| 14 | + cmake -B build_x64 |
| 15 | + cmake --build build_x64 --config Release --target INSTALL |
| 16 | + ``` |
17 | 17 | 3. Now the required binaries are in wsLongPaths/dists/ |
18 | 18 | * install.bat |
19 | | -```bat |
20 | | - install.bat <path\to\ndk\> <path\to\sdk> |
21 | | - rem if no ndk path specified, will use system var ANDROID_NDK |
22 | | - rem if no sdk path specified, will use system var ANDROID_SDK |
23 | | -``` |
| 19 | + ```bat |
| 20 | + install.bat <path\to\ndk\> <path\to\sdk> |
| 21 | + rem if no ndk path specified, will use system var ANDROID_NDK |
| 22 | + rem if no sdk path specified, will use system var ANDROID_SDK |
| 23 | + ``` |
24 | 24 | * Project url: https://github.com/simdsoft/wsLongPaths |
25 | 25 | * gnumake.exe: build from http://ftp.gnu.org/gnu/make/ 4.3, because ndk-make maybe too old, always said: ```ndk-make: *** INTERNAL: readdir: Invalid argument. Stop.``` |
26 | 26 | * Requirement: Visual Studio 2019 Redist (x86) and (x64) required, can be download at: https://dl.x-studio.net/ |
|
0 commit comments