You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-3Lines changed: 12 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ As an example, if you want to support cocos2d-x in ARM64, you need to compile al
15
15
16
16
- We use Ubuntu to build all the static libraries for Linux.
17
17
18
-
- Other platforms is not tested which means if you use windows to build static libraries for Android, it might be failed.
18
+
- Other platforms is not tested which means if you use Windows or Linux to build static libraries for Android, it might be failed.
19
19
20
20
21
21
## Download
@@ -38,9 +38,9 @@ brew install m4
38
38
- If you want to build static libraries for iOS and Mac, you should install the latest version of XCode. You should also install the `Command Line Tools` bundled with XCode.
39
39
40
40
41
-
- If you want to build static libraries for Android, you should install [NDK](https://developer.android.com/tools/sdk/ndk/index.html). NDK r9d is required at the moment and you should also specify the ANDROID_NDK environment variable in your bash configure file.
41
+
- If you want to build static libraries for Android, you should install [NDK](https://developer.android.com/tools/sdk/ndk/index.html). NDK r9d is required at the moment and you should also specify the ANDROID_NDK environment variable in your shell.
42
42
43
-
- If you want to build static libraries for Tizen, you should download and install [Tizen SDK](https://developer.tizen.org/downloads/tizen-sdk). And you should also add a environment variable named `TIZEN_SDK` in your bash configure file.
43
+
- If you want to build static libraries for Tizen, you should download and install [Tizen SDK](https://developer.tizen.org/downloads/tizen-sdk). And you should also add a environment variable named `TIZEN_SDK` in your shell.
44
44
45
45
### For Linux users
46
46
xxx need to improve the document here later.
@@ -85,6 +85,7 @@ OPTIONS
85
85
If you want to build *websockets* with *i386* arch, you could use the following command:
86
86
87
87
```cpp
88
+
cd build/ios
88
89
./build.sh -s -a i386 -l websockets (Don't forget the -s option, it is stand for simulator, if you omit it, it will give you errors.)
89
90
```
90
91
@@ -125,6 +126,7 @@ EOF
125
126
If you want to build a `curl` library with `armeabi` arch support, you can do it like this:
126
127
127
128
```cpp
129
+
cd build/android
128
130
./build.sh -a armeabi -l curl
129
131
```
130
132
@@ -136,8 +138,15 @@ cd build/mac
136
138
./build_png.sh
137
139
```
138
140
### For Tizen
141
+
For building libpng armv7 arch library:
142
+
143
+
```cpp
144
+
cd build/tizen
145
+
./build_png.sh
146
+
```
139
147
140
148
### For Linux
149
+
xxx After testing these scripts on Linux, document will be update.
141
150
142
151
## How to build a DEBUG and RELEASE version
143
152
xxx we need to improve the script to add debug and release options.
0 commit comments