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

build with command line #13

Closed
hannesa2 opened this issue Dec 26, 2017 · 1 comment
Closed

build with command line #13

hannesa2 opened this issue Dec 26, 2017 · 1 comment

Comments

@hannesa2
Copy link

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

@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*);

@hannesa2 hannesa2 closed this as completed Nov 6, 2022
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

No branches or pull requests

1 participant