这个问题看起来重复,使 *** 没有指定目标,也没有找到 makefile。停止,但我的问题略有不同,我也尝试了该解决方案,但对我不起作用。
我正在研究 OpenCV 库,我从示例项目开始,但这给了我以下错误。请帮我解决这个错误。
17:31:25 **** Auto Build of configuration Default for project MyFirstOpenCVJNI ****
make
make: *** No targets specified and no makefile found. Stop.
17:31:25 Build Finished (took 122ms)
以下是我的 Android.mk 文件
//Android.mk
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
OPENCV_LIB_TYPE:=STATIC
OPENCV_INSTALL_MODULES:=on
include ../includeOpenCV.mk
include $(OPENCV_MK_PATH)
LOCAL_MODULE := first-opencvjni
LOCAL_SRC_FILES := first-opencvjni.cpp
LOCAL_LDLIBS += -llog -ldl
include $(BUILD_SHARED_LIBRARY)