Skip to content

build with command line #13

@hannesa2

Description

@hannesa2

I can't build with command line ./gradlew clean build
I changed some minor paths and make ./gradew execute able for a Mac on this PR #12

but I see this and have no clue, what's wrong here, probably someone has a clue what's wrong here

:app:compileArm64-v8aDebugArmNdklibrarysampleSharedLibraryNdklibrarysampleMainCpp
/Users/hannes/git/openCV/OpenCV-AndroidSamples/app/src/main/jni/DetectionBasedTracker.cpp:1:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.

/Users/hannes/git/openCV/OpenCV-AndroidSamples/app/src/main/jni/Tutorial2.cpp:1:17: fatal error: jni.h: No such file or directory
#include <jni.h>
^
compilation terminated.

:app:compileArm64-v8aDebugArmNdklibrarysampleSharedLibraryNdklibrarysampleMainCpp FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileArm64-v8aDebugArmNdklibrarysampleSharedLibraryNdklibrarysampleMainCpp'.

Multiple build operations failed.
C++ compiler failed while compiling Tutorial2.cpp.
C++ compiler failed while compiling DetectionBasedTracker.cpp.
See the complete log at: file:///Users/hannes/git/openCV/OpenCV-AndroidSamples/app/build/tmp/compileArm64-v8aDebugArmNdklibrarysampleSharedLibraryNdklibrarysampleMainCpp/output.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions