Android NRK NDK Build Error

I am trying to create a project that integrates irrlchit with vuforia from here: https://github.com/nailgun/android_irrlicht_vuforia

But I get the following error when creating the code:

ndk error

Project Structure:

project structure

Android.mk:

LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) LOCAL_MODULE := irrlicht_vuforia LS_CPP=$(subst $(1)/,,$(wildcard $(1)/*.cpp)) LOCAL_SRC_FILES := $(call LS_CPP,$(LOCAL_PATH)) LOCAL_LDLIBS := -llog LOCAL_SHARED_LIBRARIES := QCAR LOCAL_STATIC_LIBRARIES := irrlicht include $(BUILD_SHARED_LIBRARY) IRRLICHT_COMPILE_CONFIG_DIR := $(LOCAL_PATH)/libs/irrlicht include $(LOCAL_PATH)/libs/QCAR/Android.mk $(call import-module,irrlicht) 

Any suggestions on what causes the build error will be appreciated.

Thanks in advance.

+7
android-ndk vuforia irrlicht
source share
1 answer

To create this project you will need an irrlicht module . I recommend you ask where the module is for the author of the project. By the way, at least I had to compile it with the irrlichtandroid project.

  • git clone git@github.com :nailgun/android_irrlicht_vuforia.git
  • git clone git://gitorious.org/irrlichtandroid/irrlichtandroid.git
  • Apply the patch for
  • cd android_irrlicht_vuforia; NDK_MODULE_PATH=.. ndk-build
  • android update project -p . -t android-19 android update project -p . -t android-19 (the amount depends on your target version of Android)
  • ant debug install
+1
source share

All Articles