Building Oculus Mobile VR SDK with Eclipse: VrApi module already defined -


i building blank project in eclipse oculus mobile vr sdk. getting following error:

android ndk: trying define local module 'vrapi' in jni/../../../../../../vrapi/projects/androidprebuilt/jni/android.mk.     android ndk: module defined jni/../../../../../../vrapi/projects/androidprebuilt/jni/android.mk.  

looks android.mk somehow included twice. i'm using oculus mobile vr sdk 0.6.2.0. following projects included in eclipse workspace:

libovrkernel_prebuilt mediasurface vrapi_prebuilt vrappframework_prebuilt vrgui vrlocale vrsound

tried re-creating workspace twice, still same error. how can vrapi module included twice? android.mk says

local_module := vrapi 

is in vrapi_prebuilt , else.

thanks

i fixed modifying android.mk inside vrapi_prebuilt in following way.

i added

include $(build_shared_library) 

right before following block:

ifneq (,$(wildcard $(local_path)/$(local_src_files)))   include $(prebuilt_shared_library) endif 

i removed .so extension from

local_src_files := ../../../libs/android/$(target_arch_abi)/lib$(local_module).so 

hence, line becomes

local_src_files := ../../../libs/android/$(target_arch_abi)/lib$(local_module) 

Comments

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -