This repository has been archived by the owner on Nov 17, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
amalgamation android compile error #5524
Comments
I have solved this issue in a similar manner but but android is still not compiling due to an issue in the NDK toolchain. I am working on a fix now |
@piiswrong many examples are out of date, like kaggle ndsb1 is still using image-classification files in mxnet v0.7, is the example updating in plan? or we submit our patch? |
I have achieved to compile mxnet amalgamation for android successfully, and put the steps at #7146 |
This issue is closed due to lack of activity in the last 90 days. Feel free to ping me to reopen if this is still an active issue. Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
For bugs or installation issues, please provide the following information.
The more information you provide, the more likely people will be able to help you.
Environment info
Operating System: Ubuntu 16.04
Compiler: NDK r14, linux-androideabi-clang
MXNet version:0.9.3, latest source
MXNet commit hash (
git rev-parse HEAD
): 5e9e3d0Steps to reproduce
export CC=arm-linux-androideabi-clang
export CXX=arm-linux-androideabi-clang++
export NDK_ROOT=/home/sun/Android/ndk
export SYS_ROOT=${NDK_ROOT}/sysroot
export INCLUDE=${NDK_ROOT}/include/c++/4.9.x
ifndef OPENBLAS_ROOT
export OPENBLAS_ROOT=/home/sun/Android/openblas_armv7
endif
make clean
make ANDROID=1
Error Message:
/home/sun/Android/mxnet/amalgamation/../dmlc-core/include/dmlc/./logging.h:18:10: fatal error:
'execinfo.h' file not found
#include <execinfo.h>
sloved by comment include <execinfo.h> out
2.
jni/../mxnet_predict-all.cc:7649:13: error: use of undeclared identifier 'fopen64'; did you mean 'fopen'?
fp_ = fopen64(fname, "rb");
sloved by replace fopen64 with fopen in line 2805 and 7649 of mxnet_predict-all.cc
The amalgamation seems stop updating for a year. Is there any other solution for mxnet in android?
The text was updated successfully, but these errors were encountered: