1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

AndroidGCS OSG: Increase OSG debugging level and try and include osgdb_3ds without success from the git build.

This commit is contained in:
James Cotton 2012-08-22 22:34:20 -05:00
parent f60a6baf3e
commit 08bb355749
2 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ include $(CLEAR_VARS)
LOCAL_MODULE := osgNativeLib
### Main Install dir
OSG_ANDROID_DIR := ../../osg_android/osg
OSG_ANDROID_DIR := ../../osg_android_git/osg-install
LIBDIR := $(OSG_ANDROID_DIR)/obj/local/armeabi
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
@ -28,6 +28,7 @@ LOCAL_LDFLAGS := -L $(LIBDIR) \
-losgdb_osgterrain \
-losgdb_osg \
-losgdb_ive \
-losgdb_3ds \
-losgdb_deprecated_osgviewer \
-losgdb_deprecated_osgvolume \
-losgdb_deprecated_osgtext \

View File

@ -112,8 +112,7 @@ void OsgMainApp::initOsgWindow(int x,int y,int width,int height){
_notifyHandler = new OsgAndroidNotifyHandler();
_notifyHandler->setTag("Osg Viewer");
osg::setNotifyHandler(_notifyHandler);
osg::notify(osg::ALWAYS)<<"Testing"<<std::endl;
osg::setNotifyLevel(osg::DEBUG_INFO);
_viewer = new osgViewer::Viewer();
_viewer->setUpViewerAsEmbeddedInWindow(x, y, width, height);