Closed shahbazashraf closed 6 years ago
please help i can't find what is issue i searched alot
Did you follow the build instructions: https://github.com/Lauszus/FaceRecognitionApp#build-instructions?
Also is that the full build error? Please post it in full.
it gives this when i run the command in command line.
C:\Users\ShahbazKhan\Downloads\Compressed\FaceRecognitionApp-1.2.2>git submodule update --init --recursive fatal: Not a git repository (or any of the parent directories): .git
for this as well not operating the command lines..any help what i am doing wrong C:\Users\ShahbazKhan\Downloads\Compressed\FaceRecognitionApp-1.2.2>wget https://github.com/opencv/opencv/releases/download/3.4.1/opencv-3.4.1-android-sdk.zip 'wget' is not recognized as an internal or external command, operable program or batch file.
first build successfully done then when i run the app then after gradle build it gives...
Error:unable to open output file 'C:/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/face-lib/C_/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/src/main/cpp/FaceRecognitionLib/Facebase.o': 'No such file or directory'
Please do NOT follow the "Advanced build instructions", just download the latest release: https://github.com/Lauszus/FaceRecognitionApp/releases/download/1.2.2/FaceRecognitionApp-1.2.2.zip, unzip it and then open it using Android Studio.
yes that's what i have done..but after successful first build when i run application for installation on mobile it gives this error..i don't know what is file or directory missing name Facebas.o.
error Error:unable to open output file 'C:/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/face-lib/C_/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/src/main/cpp/FaceRecognitionLib/Facebase.o': 'No such file or directory'
i tried to find file of given path but didn't find..what is error
I just tried it myself. The project builds fine. Please make sure that you have install Android NDK and that Android Studio is up to date. Have you modified any files?
yes i have installed NDK and also i didn't modified any file.. i also got the first build right means project build fine but when i run project for installation then it gives this error..FaceBase.o file or directory not found
On Sat, Jun 23, 2018 at 6:14 PM Kristian Sloth Lauszus < notifications@github.com> wrote:
I just tried it myself. The project builds fine. Please make sure that you have install Android NDK and that Android Studio is up to date. Have you modified any files?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/19#issuecomment-399677733, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaxDM3OiojW9xzBZdA2pgWJmkNPIiCfks5t_j8zgaJpZM4UzqqF .
Can you try to compile it from the command line:
Unix:
./gradlew
Windows:
gradlew.bat
ok i will try.. But sir if you run a code and install an application if it working can you share that code with me i will be thankfull..waiting
It is working here. You can download the compiled APK under the release tab: https://github.com/Lauszus/FaceRecognitionApp/releases.
sir i have done gradlew.bat it said BUILD FAILED in 2m 15s
Can you try to install the APK and see if that works on your device?
Just download and install the universal APK on your device: https://github.com/Lauszus/FaceRecognitionApp/releases/download/1.2.2/FaceRecognitionApp-1.2.2-universal-release.apk.
now its successful BUILD SUCCESSFUL in 3m 1s
Okay. I believe we can close this issue then, as it sounds like it was an issue on your side and not with the code.
Error:unable to open output file 'C:/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.3.0-dev/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/face-lib/C_/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.3.0-dev/app/src/main/cpp/FaceRecognitionLib/Facebase.o': 'No such file or directory'
i have tried the new version as well it also have same error...do know how i fix Facebase.o': 'No such file or directory'
sir i am able to install the application.. the issue is the for that file is too long thats why project is not creating the correct path i have solved it by changing the project location
Okay good to hear that. Seem like a known issue on Windows: https://stackoverflow.com/questions/33905687/error-file-path-too-long-on-windows-keep-below-240-characters.
I will close this issue now since you got it working :)
yes broo but know in project application closed while recognition and it says.. StaticHelper: OpenCV error: Cannot load info library for OpenCV i also added the latest sdk of open cv..any idea
On Wed, Jun 27, 2018 at 4:57 PM Kristian Sloth Lauszus < notifications@github.com> wrote:
Okay good to hear that. Seem like a known issue on Windows: https://stackoverflow.com/questions/33905687/error-file-path-too-long-on-windows-keep-below-240-characters .
I will close this issue now since you got it working :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/19#issuecomment-400646148, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaxDKTMGWEikmcGor100d4kx88dziRuks5uA3MbgaJpZM4UzqqF .
it also closes the application that when i switch between camera to train two two different faces..why if application closed one it never opened again
On Thu, Jun 28, 2018 at 11:31 AM Game on hai khan < shahbazashraf288@gmail.com> wrote:
yes broo but know in project application closed while recognition and it says.. StaticHelper: OpenCV error: Cannot load info library for OpenCV i also added the latest sdk of open cv..any idea
On Wed, Jun 27, 2018 at 4:57 PM Kristian Sloth Lauszus < notifications@github.com> wrote:
Okay good to hear that. Seem like a known issue on Windows: https://stackoverflow.com/questions/33905687/error-file-path-too-long-on-windows-keep-below-240-characters .
I will close this issue now since you got it working :)
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/19#issuecomment-400646148, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaxDKTMGWEikmcGor100d4kx88dziRuks5uA3MbgaJpZM4UzqqF .
Please do not update anything until you have got it working. Did you ever try installing the APK?
not yet but need your code to understand need to on other project..
On Thu, Jun 28, 2018 at 12:14 PM Kristian Sloth Lauszus < notifications@github.com> wrote:
Please do not update anything until you have got it working. Did you ever try installing the APK?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Lauszus/FaceRecognitionApp/issues/19#issuecomment-400936034, or mute the thread https://github.com/notifications/unsubscribe-auth/AcaxDG-oS0lAcebK5uu5pgbM1ShtCBwyks5uBIJXgaJpZM4UzqqF .
Yes, but it would help me quite a lot if I would know if it was your phone or your setup that was the problem, so please try the APK.
Error:unable to open output file 'C:/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/build/intermediates/ndkBuild/debug/obj/local/arm64-v8a/objs-debug/face-lib/C_/Users/ShahbazKhan/Downloads/Compressed/FaceRecognitionApp-1.2.2/app/src/main/cpp/FaceRecognitionLib/Facebase.o': 'No such file or directory'