tzutalin / dlib-android

:dragon: Port dlib to Android
MIT License
868 stars 268 forks source link

Build native libary (so files) error [armeabi] #60

Open kazimunshimun opened 7 years ago

kazimunshimun commented 7 years ago

Is it possible to build dlib-android library in armeabi? I tried to by adding armeabi in Application.mk, but I am getting an error in build process. Here is the error:

[armeabi] Compile++ thumb: android_dlib <= jni_imageutils.cpp
[armeabi] Compile++ thumb: android_dlib <= jni_pedestrian_det.cpp
[armeabi] Compile++ thumb: android_dlib <= jni_face_det.cpp
In file included from In file included from jni/jni_detections/jni_pedestrian_det.cppjni/jni_detections/jni_face_det.cpp::1414:
:
In file included from In file included from jni/jni_detections/detector.hjni/jni_detections/detector.h::1414:
:
In file included from In file included from jni/../dlib/dlib/image_processing.hjni/../dlib/dlib/image_processing.h::2020:
:
In file included from In file included from jni/../dlib/dlib/image_loader/../image_processing/remove_unobtainable_rectangles.hjni/../dlib/dlib/image_loader/../image_processing/remove_unobtainable_rectangles.h::1111:
:
In file included from In file included from jni/../dlib/dlib/image_loader/../array2d/../geometry/../image_processing/../svm/structural_object_detection_trainer.hjni/../dlib/dlib/image_loader/../array2d/../geometry/../image_processing/../svm/structural_object_detection_trainer.h::99:
:
In file included from In file included from jni/../dlib/dlib/image_loader/../svm/structural_svm_object_detection_problem.hjni/../dlib/dlib/image_loader/../svm/structural_svm_object_detection_problem.h::88:
:
In file included from In file included from jni/../dlib/dlib/image_loader/../svm/structural_svm_problem_threaded.hjni/../dlib/dlib/image_loader/../svm/structural_svm_problem_threaded.h::1313:
:
In file included from In file included from jni/../dlib/dlib/image_loader/../threads/../threads.hjni/../dlib/dlib/image_loader/../threads/../threads.h::2525:
:
jni/../dlib/dlib/image_loader/../threads/async.hjni/../dlib/dlib/image_loader/../threads/async.h::7373::4242::  errorerror: : nono  membermember  namednamed  'current_exception''current_exception'  inin

            namespacenamespace  'std''std'

                prom->set_exception(std::current_exception());                prom->set_exception(std::current_exception());

                                    ~~~~~^                                    ~~~~~^

1 error generated.
1 error generated.
make: *** [obj/local/armeabi/objs/android_dlib/jni_pedestrian_det.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [obj/local/armeabi/objs/android_dlib/jni_face_det.o] Error 1

If anybody can upload so file of armeabi that will also help. thanks

Q-lin commented 7 years ago

had u solved it?please tell me how to bBuild native libary (so files) error [armeabi]

kazimunshimun commented 7 years ago

No, I had to create armeabi-v7a so file to solve this error.

yeshiyuan00 commented 7 years ago

I met this problem too, anyone know how to solve it?

nicky918 commented 7 years ago

I met this problem too, anyone know how to solve it?

Jie1Zhong commented 6 years ago

meet this problem too,has anyone worked it out?