You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have followed the instructions to start using this project, including changing the location of where you have installed OpenCV, so that the project can find it easily, amongst other things. However, the app refuses to build, and throws out so many errors, mostly relating to Ninja:
Task :app:buildCMakeDebug[arm64-v8a] FAILED
C/C++: ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/arm64-v8a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/arm64-v8a/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/arm64-v8a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/arm64-v8a/libnative-lib.so', missing and no known rule to make it
Task :app:buildCMakeDebug[armeabi-v7a] FAILED
C/C++: ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/armeabi-v7a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/armeabi-v7a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it
Task :app:buildCMakeDebug[x86] FAILED
C/C++: ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86/libnative-lib.so', missing and no known rule to make it
Task :app:buildCMakeDebug[x86_64] FAILED
C/C++: ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86_64/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86_64/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86_64/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86_64/libnative-lib.so', missing and no known rule to make it
Furthermore, MainActivity has 8 errors, down from an initial 33 when I first cloned the project, the build output shows the following which I have tried to solve, to no avail:
I have followed the instructions to start using this project, including changing the location of where you have installed OpenCV, so that the project can find it easily, amongst other things. However, the app refuses to build, and throws out so many errors, mostly relating to Ninja:
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/arm64-v8a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/arm64-v8a/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/armeabi-v7a/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/armeabi-v7a/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86/libnative-lib.so', missing and no known rule to make it
ninja: error: 'C:/Users/AhmedWK/Documents/OpenCv-4.9.0/OpenCV-android-sdk/sdk/native/jni/libs/x86_64/libopencv_java4.so', needed by 'D:/USERS_WINDOWS/user_AhmedWk/AndroidProjects/OPENCV_TEST/app/build/intermediates/cxx/Debug/422x5r34/obj/x86_64/libnative-lib.so', missing and no known rule to make it
Furthermore, MainActivity has 8 errors, down from an initial 33 when I first cloned the project, the build output shows the following which I have tried to solve, to no avail:
Please advise on what can be done to mitigate this issue. Thanks.
The text was updated successfully, but these errors were encountered: