gv22ga / dlib-face-recognition-android

Android app to demo dlib face recognition
MIT License
148 stars 50 forks source link

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

Open tanle8 opened 6 years ago

tanle8 commented 6 years ago

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!

gv22ga commented 6 years ago

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

tanle8 commented 6 years ago

Thank you for your answer.

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

jackweiwang commented 6 years ago

@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?

gv22ga commented 6 years ago

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

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

hammadalibutt commented 4 years ago

Anyone solve this issue?