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

ERROR: Cause: executing external native build for ndkBuild #8

Open
khizar1556 opened this issue Jan 31, 2020 · 0 comments
Open

ERROR: Cause: executing external native build for ndkBuild #8

khizar1556 opened this issue Jan 31, 2020 · 0 comments

Comments

@khizar1556
Copy link

ERROR: Cause: executing external native build for ndkBuild /Users/abc/Downloads/360/android/src/main/jni/TEMPLATE_Android.mk

can anyone please resolve this here is TEMPLATE_Android.mk file
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
#opencv
OPENCVROOT:= /Users/abc/Downloads/OpenCV-android-sdk
OPENCV_CAMERA_MODULES:=on
OPENCV_INSTALL_MODULES:=on
OPENCV_LIB_TYPE:=SHARED
include ${OPENCVROOT}/sdk/native/jni/OpenCV.mk
LOCAL_SRC_FILES := study_acodexm_NativePanorama.cpp ImgStitcher.cpp CroppImg.cpp
LOCAL_C_INCLUDES += $(LOCAL_PATH)/include
LOCAL_CFLAGS += -std=c++11 -frtti -fexceptions -fopenmp -w
LOCAL_LDLIBS += -llog -L$(SYSROOT)/usr/lib
LOCAL_LDFLAGS += -fopenmp
LOCAL_MODULE := MyLib
include $(BUILD_SHARED_LIBRARY)

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