I try to build sdl_image to android, but got errors when linking the
webplib:
Both failed under the windows and macos. Can someone give me the clues to
fix that issue. Thanks a lot.
Compile thumb : SDL2_image <= pngwutil.c
SharedLibrary : libSDL2_image.so
./obj/local/armeabi-v7a/objs/SDL2_image/IMG_webp.o: In function
IMG_InitWEBP': /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’
collect2: ld returned 1 exit status
make: *** [obj/local/armeabi-v7a/libSDL2_image.so] Error 1
By the way, also failed in build sdl_mixer.