7

I am trying to create project which is integration of irrlchit with vuforia from here: https://github.com/nailgun/android_irrlicht_vuforia

But I get following error when I build the code:

ndk error

Project structure is:

project structure

Android.mk is :

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 about what is causing the build error would be appreciated.

Thanks in advance.

Community
  • 1
  • 1
mrYogi
  • 992
  • 2
  • 9
  • 29

1 Answers1

1

You need irrlicht module to build this project. I recommend you to ask where the module to the author of the project. By the way, at least, I got to compile it with irrlichtandroid project.

  1. git clone git@github.com:nailgun/android_irrlicht_vuforia.git
  2. git clone git://gitorious.org/irrlichtandroid/irrlichtandroid.git
  3. Apply the patch for both
  4. cd android_irrlicht_vuforia; NDK_MODULE_PATH=.. ndk-build
  5. android update project -p . -t android-19 (The number depends on your target Android version)
  6. ant debug install
Kazuki Sakamoto
  • 13,929
  • 2
  • 34
  • 96