"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Compiling problem with VUFORIA and ndk-build

Hi,

I'm trying to use vuforia with other framework for image rendering. This framework (gameplay3d) is used in a NativeActivity. I include in android.mk:

 

 

#vuforia

LOCAL_PATH := $(QCAR_PATH)

include $(CLEAR_VARS)

LOCAL_MODULE := QCAR-prebuilt

LOCAL_SRC_FILES = /home/jose/android/vuforia-sdk-android-1-5-9/build/lib/$(TARGET_ARCH_ABI)/libQCAR.so

LOCAL_EXPORT_C_INCLUDES := /home/jose/android/vuforia-sdk-android-1-5-9/build/include

include $(PREBUILT_SHARED_LIBRARY)

 

 

and in the end of the file:

 

LOCAL_STATIC_LIBRARIES := android_native_app_glue libgameplay libpng libzlib liblua libbullet libvorbis libOpenAL

 

include $(BUILD_SHARED_LIBRARY)

$(call import-module,android/native_app_glue)

LOCAL_SHARED_LIBRARIES := QCAR-prebuilt

 

But when I use #include <QCAR.h> etc. it says me: 

 

fatal error: QCAR.h: No such file or directory

 

What's the problem? 

 

I continued with new problems. I can't load two shared libraries and I create a QCARNativeActivity with two System.loads for this... And is chrasing again. This is my android.mk:

 

SAMPLE_PATH := $(call my-dir)/../../src