yinchuanchuan$ ~/Library/Android/sdk/ndk/16.1.4479499/ndk-build
Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
/Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): armeabi
/Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release.
[armeabi] Compile++ arm : EuhatRtsp <= DecodeOp.cpp
In file included from jni/euhatrtsp/livevideo/DecodeOp.cpp:4:
jni/euhatrtsp/livevideo/DecoderSoft.h:7:10: fatal error: 'libavcodec\avcodec.h' file not found
yinchuanchuan$ ~/Library/Android/sdk/ndk/16.1.4479499/ndk-build
Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information.
/Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): armeabi
/Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release.
[armeabi] Compile++ arm : EuhatRtsp <= CommonOp.cpp
jni/euhatrtsp/livevideo/CommonOp.cpp:41:9: error: use of undeclared identifier 'write'
write(fd, dispStr.c_str(), dispStr.length());
^
jni/euhatrtsp/livevideo/CommonOp.cpp:42:9: error: use of undeclared identifier 'close'
close(fd);
^
2 errors generated.
make: *** [obj/local/armeabi/objs/EuhatRtsp/livevideo/CommonOp.o] Error 1
errors may generated when use ndk 16.1.4479499 build
yinchuanchuan$ ~/Library/Android/sdk/ndk/16.1.4479499/ndk-build Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information. /Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): armeabi /Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release. [armeabi] Compile++ arm : EuhatRtsp <= DecodeOp.cpp In file included from jni/euhatrtsp/livevideo/DecodeOp.cpp:4: jni/euhatrtsp/livevideo/DecoderSoft.h:7:10: fatal error: 'libavcodec\avcodec.h' file not found
include "libavcodec\avcodec.h"
1 error generated. make: *** [obj/local/armeabi/objs/EuhatRtsp/livevideo/DecodeOp.o] Error 1
yinchuanchuan$ ~/Library/Android/sdk/ndk/16.1.4479499/ndk-build Android NDK: WARNING: APP_PLATFORM android-21 is higher than android:minSdkVersion 1 in ./AndroidManifest.xml. NDK binaries will not be comptible with devices older than android-21. See https://android.googlesource.com/platform/ndk/+/master/docs/user/common_problems.md for more information. /Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:81: Android NDK: Application targets deprecated ABI(s): armeabi /Users/yinchuanchuan/Library/Android/sdk/ndk/16.1.4479499/build/core/setup-app.mk:82: Android NDK: Support for these ABIs will be removed in a future NDK release. [armeabi] Compile++ arm : EuhatRtsp <= CommonOp.cpp jni/euhatrtsp/livevideo/CommonOp.cpp:41:9: error: use of undeclared identifier 'write' write(fd, dispStr.c_str(), dispStr.length()); ^ jni/euhatrtsp/livevideo/CommonOp.cpp:42:9: error: use of undeclared identifier 'close' close(fd); ^ 2 errors generated. make: *** [obj/local/armeabi/objs/EuhatRtsp/livevideo/CommonOp.o] Error 1
errors may generated when use ndk 16.1.4479499 build