Hello, I’m trying complie 64 bit bin’s for Andriod, had to change the SDL_image to 2.0.5 and use another NDK
but I’m getting this error.
Anyone came across it?
jni/SDL_image/IMG_pnm.c: In function ‘ReadNumber’:
jni/SDL_image/IMG_pnm.c:94:24: error: ‘SDL_MAX_SINT32’ undeclared (first use in this function)
if (number >= (SDL_MAX_SINT32 / 10)) {
^
jni/SDL_image/IMG_pnm.c:94:24: note: each undeclared identifier is reported only once for each function it appears in
make.exe: *** [obj/local/armeabi-v7a/objs/SDL2_image/IMG_pnm.o] Error 1
“C:/adt-bundle-windows-x86_64-20140702/android-ndk-r10e/ndk-build.cmd” terminated with exit code 2. Build might be incomplete.
10:03:22 Build Failed. 2 errors, 1 warnings. (took 23s.713ms)