配置参数 /- ./configure --prefix = / usr / workspace / android --disable-static --enable-shared --disable-ffplay --disable-ffprobe --disable-htmlpages --disable-manpages --disable-podpages- disable-txtpages --arch = arm --target-os = linux --cross-prefix = / usr / workspace / ndk / toolchains / arm-linux-androideabi-4.9 / prebuilt / linux-x86_64 / bin / arm-linux- androideabi- --sysroot = / usr / workspace / ndk / platforms / android-21 / arch-arm --extra-cflags =“-Os -fpic $ ADDI_CFLAGS” --extra-ldflags =“ $ ADDI_LDFLAGS” -/
make execution error
/--
In file included from ./libavformat/internal.h:24:0,
from libavdevice/alldevices.c:23:
/usr/workspace/ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/include/stdint.h:9:26: fatal error: stdint.h: No such file or directory
# include_next <stdint.h>
^
compilation terminated.
make: *** [libavdevice/alldevices.o] Error 1
--/
答案 0 :(得分:0)
更新到NDK r19并使用:
echo $aResult[0]['voornaam'];
如果由于某种原因而无法更新NDK,则需要使用https://developer.android.com/ndk/guides/standalone_toolchain。