Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NDK irrlciht vuforia build error

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.

like image 370
mrYogi Avatar asked Jan 08 '14 12:01

mrYogi


Video Answer


1 Answers

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 [email protected]: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
like image 144
Kazuki Sakamoto Avatar answered Oct 19 '22 19:10

Kazuki Sakamoto