gv22ga/dlib-face-recognition-android

.../dlib-face-recognition-android/third_party/miniglog/Android.mk: No such file or directory

tanle8 opened this issue · 5 comments

Hi Gaurav. Thank you for interesting project!

I have small problem when I build native code (for armeabi-v7a), I can get the required libraries through:
./envsetup
But when it comes to:
ndk-build -j 2
It said:

TOP Level Path: <local_path>/dlib-face-recognition-android
jni/Android.mk:25: <local_path>/dlib-face-recognition-android/third_party/miniglog/Android.mk: No such file or directory
jni/jni_common/Android.mk:10: "Build jni_common"
jni/jni_common/Android.mk:16: jni/jni_common
"Won't build test's executable file"
.../Android/Sdk/ndk-bundle/build/core/build-binary.mk:693: Android NDK: Module android_dlib depends on undefined modules: miniglog
.../Android/Sdk/ndk-bundle/build/core/build-binary.mk:706: *** Android NDK: Aborting (set APP_ALLOW_MISSING_DEPS=true to allow missing dependencies)    .  Stop.

What should I do?
Thank you very much!

Hi Tan,

I just wanted to make sure that you tried git clone with the --recursive flag.

This is the complete command
git clone --recursive https://github.com/gv22ga/dlib-face-recognition-android.git

Thank you for your answer.

Yes. I cloned the repo with the --recursive flag.

@gv22ga used --recursive the third_party is empty,so i download it,now it's run
i want use dnn detection ,how should i do?

For face detection, you can look into detect method of FaceRec class. FaceRec.java

Not sure why --recursive flag isn't working..

Anyone solve this issue?