Hi,

This has been a long process trying to get android to work with OpenSceneGraph 
and I'm still not there.

Some Info:

Windows 7
OpenSceneGraph 3.2


Where I'm at:

OpenSceneGraph 3.2 compiled/links ok.

Now I'm trying to run ndk-make in the JNI directory for the 
osgAndroidExampleGLES2 and it fails here. 100's of errors that look like this:

C:/Android/android-ndk-r8e/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/../lib/gcc/arm-linux-androideabi/4.6/../../../../arm-linux-androideabi/bin/
ld.exe: 
C:\Android\OpenSceneGraph-3.2\osginstall/obj/local/armeabi/libosg.a(Notify.o): 
in function vtable for osg::NotifyStreamBuffer:Notify.cpp(.data.rel.ro._Z
TVN3osg18NotifyStreamBufferE+0x3c): error: undefined reference to 
'std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> 
>::overflow(int)'
collect2: ld returned 1 exit status

this of course looks like the famous stl problem mentioned on this forum with 
10 different ways to solve it. I tried all 10 ways putting the -lgnustl-static 
in the LOCAL_LDLIBS and/or in the LOCAL_LDFLAGS as mention in different 
forums... no success.

I'm kinda' stumped and do not know how I should proceed to solve this problem.

Thank you!

Cheers,
Peter

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=55426#55426





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to