Skip to content
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

try to build with command line #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

try to build with command line #12

wants to merge 2 commits into from

Conversation

hannesa2
Copy link

Attempt to build with command line ./gradlew clean build
But I run into this and does 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

@hannesa2 hannesa2 mentioned this pull request Dec 26, 2017
@hannesa2
Copy link
Author

With last commit, I solved previous error, and now I run into this

/Users/hannes/Development/my-android-toolchain/sysroot/usr/include/signal.h:96:18: error: expected ';' at end of member declaration
sighandler_t sa_handler;
^
/Users/hannes/Development/my-android-toolchain/sysroot/usr/include/signal.h:96:18: error: expected unqualified-id before '.' token
sighandler_t sa_handler;
^
/Users/hannes/Development/my-android-toolchain/sysroot/usr/include/signal.h:97:12: error: expected ')' before '.' token
void (sa_sigaction)(int, struct siginfo, void*);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant