forked from Antokolos/instead-android-ng
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.txt
35 lines (26 loc) · 1.21 KB
/
build.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
For build, download INSTEAD src from SVN first:
cd project/jni/src
./download-instead.sh
If you see this error:
/Users/sanghuacai/sdl/SDL-Android/jni/SDL_image/IMG_webp.c:123: undefined reference to `WebPGetFeaturesInternal'
/Users/sanghuacai/sdl/SDL-Android/jni/SDL_image/IMG_webp.c:123: undefined reference to `WebPDecodeRGBInto'
/Users/sanghuacai/sdl/SDL-Android/jni/SDL_image/IMG_webp.c:123: undefined reference to `WebPDecodeRGBAInto'
then
There is some build issue with libwebp support in current SDL2_image lib, not sure what it is (I'm on Ubuntu).
If you don't need webp support you can disable it in SDL2_image's Android.mk:
Code:
SUPPORT_WEBP := false
Or you can copy entire libwebp directory (which is in external/libwebp-0.3.0) to jni directory.
If
dynamic_mp3.c:169: error: undefined reference to 'SMPEG_actualSpec'
then
copy external/smpeg2-2.0.0 to jni directory
If
jidctfst.S:66: Error: garbage following instruction -- `pld (r2,#0)'
then
Uncomment the ANDROID_JPEG_NO_ASSEMBLER line of the Android.mk, it is like that:
# temp fix until we understand why this broke cnn.com
#ANDROID_JPEG_NO_ASSEMBLER := true
do that:
# temp fix until we understand why this broke cnn.com
ANDROID_JPEG_NO_ASSEMBLER := true