-
Notifications
You must be signed in to change notification settings - Fork 239
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error:A problem occurred configuring project ':app'. > executing external native build for ndkBuild #3
Comments
@sanribadu I believe this is a duplicate of #1. Also please post the full error log. |
And i am not sure if this is correct: setting the path of the openc cv and the eigen LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
OPENCV_INSTALL_MODULES := on
OPENCVROOT:= /Users/suleimanribadusani/Documents/OpenCV-2.4.9-android-sdk
include ${OPENCVROOT}/sdk/native/jni/OpenCV.mk
EIGEN3_DIR:= /Users/suleimanribadusani/Documents/eigen-eigen-26667be4f70b
LOCAL_MODULE := face-lib
LOCAL_SRC_FILES += $(LOCAL_PATH)/face-lib.cpp $(LOCAL_PATH)/FaceRecognitionLib/Facebase.cpp
LOCAL_SRC_FILES += $(LOCAL_PATH)/FaceRecognitionLib/Eigenfaces.cpp $(LOCAL_PATH)/FaceRecognitionLib/Fisherfaces.cpp
LOCAL_SRC_FILES += $(LOCAL_PATH)/FaceRecognitionLib/PCA.cpp $(LOCAL_PATH)/FaceRecognitionLib/LDA.cpp
LOCAL_C_INCLUDES += $(EIGEN3_DIR) $(LOCAL_PATH)/FaceRecognitionLib/RedSVD/include
LOCAL_LDLIBS += -llog -ldl
LOCAL_CPPFLAGS += -std=gnu++11 -frtti -fexceptions
include $(BUILD_SHARED_LIBRARY) |
@sanribadu you are using OpenCV 2.4.9 Please update to 3.1.0: https://github.com/opencv/opencv/releases/download/3.1.0/OpenCV-3.1.0-android-sdk.zip. |
Have you installed Android NDK for Android studio? Can you see the full Gradle log somewhere, so I can see the full error message? Btw I reopened the issue, as I believe you closed it by accident? |
yes installed the android NDk... and here is the log:
|
You haven't checked out the submodule. Please run: git submodule update --init --recursive Also please check out the updates build instructions, so you can set the environmental variables instead of hardcoding the path: https://github.com/Lauszus/FaceRecognitionApp#build-instructions. |
@sanribadu any updates? |
sorry for the late reply been off for a while. Its not giving any error but the keeps saying that "E/JavaCameraView: Front camera not found!" |
What device are you using? Try to replace this line: https://github.com/Lauszus/FaceRecognitionApp/blob/master/app/src/main/java/com/lauszus/facerecognitionapp/FaceRecognitionAppActivity.java#L369 with: mOpenCvCameraView.setCameraIndex(prefs.getInt("mCameraIndex", CameraBridgeViewBase.CAMERA_ID_ANY)); |
Thank you for the application, it is working fine now. |
You're welcome :) |
@sanribadu what device are you using? I guess there is no front camera on it? |
git submodule update --init --recursive inwindowsSorry to bother you. I'm working on windows. I have install the Git and add it to the environment variable. But when I run the command ,"git submodule update --init --recursive", in cmd, there are something wrong.
|
sir i still didnt understand how the applicatin will recognize faces |
Error:A problem occurred configuring project ':app'.
Error:(45) *** Android NDK: Aborting . Stop.
Hello getting the error above. Thank you
The text was updated successfully, but these errors were encountered: