Skip to content

Comments

try to build with command line#12

Open
hannesa2 wants to merge 2 commits intojoaopedronardari:masterfrom
hannesa2:tryToBuild
Open

try to build with command line#12
hannesa2 wants to merge 2 commits intojoaopedronardari:masterfrom
hannesa2:tryToBuild

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.

1 participant