android - make: *** No targets specified and no makefile found. Stop -
this question duplicate make *** no targets specified , no makefile found. stop problem different , tried solution not work me.
i'm working on opencv library , start sample project gives following error me. please me solve error.
17:31:25 **** auto build of configuration default project myfirstopencvjni **** make make: *** no targets specified , no makefile found. stop. 17:31:25 build finished (took 122ms)
following android.mk file
//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)
after many searches solved error, right click on project->properties->c/c++ build(left side)->builder settings->uncheck "use default build command" checkbox->enter "${ndkroot}/ndk-build.cmd" in build command checkbox
on windows os, see following image
before doing thing need set ndkroot environment variable in environment settings root folder ndk directory in case c:\adt-bundle-windows-x86-20130522\android-ndk-r8e.
if difficulties or queries let me know.
Comments
Post a Comment