Re: [osg-users] [build] Android Compile Errors with 3rd Party library
Hi, Yes, I completed. I successfully loaded a model on my device with QCAR + OSG. ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=52251#52251 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Android Compile Errors with 3rd Party library
Hi, Did you manage to make any progress on QCAR + OSG integration. I am using QCAR currently with Unity. It will be interesting to test it with OSG as well. Cheers, Tisham -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=51618#51618 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] Android Compile Errors with 3rd Party library
Hi, In the variable OSG_ANDROID_DIR, you must put the directory path that contains the osg install Thank you! Cheers, Rghima -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48049#48049 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] Android Compile Errors with 3rd Party library
Hi, First Thank you very much for OSG Android. I am new to Android-ndk. I have a library (QCAR ) for AR. I am trying to use OSG as a render engine for QCAR. So I want to include OSG in QCAR program. I include some of OSG includes in my C++ program. When I compile I am getting error. My Android.mk file looks like this LOCAL_PATH := $(call my-dir) include $(CLEAR_VARS) OSG_ANDROID_DIR := /root/Development/Android/vuforia-sdk-android-1-5-9/samples/ImageTargets LIBDIR := $(OSG_ANDROID_DIR)/obj/local/armeabi LOCAL_C_INCLUDES:= $(OSG_ANDROID_DIR)/include LOCAL_CPPFLAGS := -DOSG_LIBRARY_STATIC include $(CLEAR_VARS) LOCAL_MODULE := QCAR-prebuilt LOCAL_SRC_FILES = ../../../build/lib/$(TARGET_ARCH_ABI)/libQCAR.so LOCAL_EXPORT_C_INCLUDES := $(LOCAL_PATH)/../../../build/include include $(PREBUILT_SHARED_LIBRARY) include $(CLEAR_VARS) LOCAL_MODULE := ImageTargets LOCAL_CFLAGS := -Wno-write-strings $(OPENGLES_DEF) LOCAL_LDLIBS := \ -llog $(OPENGLES_LIB) LOCAL_SHARED_LIBRARIES := QCAR-prebuilt LOCAL_SRC_FILES := . include $(BUILD_SHARED_LIBRARY) when I compile (ndk-build) I am getting the following error jni/ImageTargets.cpp:17:31: error: osgDB/DatabasePager: No such file or directory jni/ImageTargets.cpp:18:26: error: osgDB/Registry: No such file or directory jni/ImageTargets.cpp:19:26: error: osgDB/ReadFile: No such file or directory jni/ImageTargets.cpp:20:27: error: osgDB/WriteFile: No such file or directory make: *** [obj/local/armeabi/objs-debug/ImageTargets/ImageTargets.o] Error 1 All these errors with OSG lib. Can you please help me how to compile this? ... Thank you! Cheers, Koduri -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=48047#48047 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org