Hi Jan, after some reading from web I managed to set the build (and understand some of the background and terminology) to use armeabi version 5 for all the builds. So the build should be ok, just to see why is still crashing. Progress for this day :-). And thanks to you and Jorge.
Cheers, Nick On Thu, Apr 11, 2013 at 10:44 PM, Trajce Nikolov NICK < trajce.nikolov.n...@gmail.com> wrote: > also, when I build nativeLib, and donot remove -Werror it failed to build > .. > > Nick > > > On Thu, Apr 11, 2013 at 10:36 PM, Trajce Nikolov NICK < > trajce.nikolov.n...@gmail.com> wrote: > >> Hi Jorge, >> >> this is with clean build with "d" ndk and Juno Eclipse for android-7 >> (that is the default in the example) >> >> 01-01 12:29:25.179: I/GLThread(2034): noticed surfaceView surface lost >> tid=10 >> 01-01 12:29:25.308: I/GLThread(2034): onResume tid=10 >> 01-01 12:29:25.421: I/GLThread(2034): noticed surfaceView surface >> acquired tid=10 >> 01-01 12:29:25.421: W/EglHelper(2034): start() tid=10 >> 01-01 12:29:25.421: D/libEGL(2034): loaded >> /system/lib/egl/libEGL_POWERVR_SGX540_120.so >> 01-01 12:29:25.421: D/libEGL(2034): loaded >> /system/lib/egl/libGLESv1_CM_POWERVR_SGX540_120.so >> 01-01 12:29:25.425: D/libEGL(2034): loaded >> /system/lib/egl/libGLESv2_POWERVR_SGX540_120.so >> 01-01 12:29:25.503: W/EGLview(2034): creating OpenGL ES 2.0 context >> 01-01 12:29:25.519: W/EglHelper(2034): createContext >> com.google.android.gles_jni.EGLContextImpl@4052a638 tid=10 >> 01-01 12:29:25.519: I/GLThread(2034): noticing that we want render >> notification tid=10 >> 01-01 12:29:25.519: W/GLThread(2034): egl createSurface >> 01-01 12:29:25.519: W/EglHelper(2034): createSurface() tid=10 >> 01-01 12:29:25.550: W/GLThreadManager(2034): checkGLESVersion >> mGLESVersion = 131072 >> mMultipleGLESContextsAllowed = true >> 01-01 12:29:25.550: W/GLThread(2034): onSurfaceCreated >> 01-01 12:29:25.550: W/GLThread(2034): onSurfaceChanged(800, 332) >> 01-01 12:29:25.550: D/dalvikvm(2034): Trying to load lib >> /data/data/osg.AndroidExample/lib/libosgNativeLib.so 0x40513750 >> 01-01 12:29:30.246: I/dalvikvm(2034): threadid=4: reacting to signal 3 >> 01-01 12:29:30.253: E/dalvikvm(2034): Failed to write stack traces to >> /data/anr/traces.txt (-1 of 2978): Math result not representable >> >> Hope this help to figure out something >> >> Nick >> >> >> On Thu, Apr 11, 2013 at 10:03 PM, Trajce Nikolov NICK < >> trajce.nikolov.n...@gmail.com> wrote: >> >>> Hi Jorge, >>> >>> ok, I will stick with "d" then >>> >>> Nick >>> >>> >>> On Thu, Apr 11, 2013 at 9:57 PM, Trajce Nikolov NICK < >>> trajce.nikolov.n...@gmail.com> wrote: >>> >>>> Hi Jorge, attached is the log. Also when I run Eclipse it says: >>>> Failed to resolve android-8 >>>> >>>> Jorge, Thanks ! >>>> >>>> Nick >>>> >>>> >>>> >>>> >>>> On Thu, Apr 11, 2013 at 9:26 PM, Trajce Nikolov NICK < >>>> trajce.nikolov.n...@gmail.com> wrote: >>>> >>>>> Hi Jorge, Jan, >>>>> >>>>> I can not build it now with the ndk I downloaded - my dev machine is >>>>> setup based on the wiki page by Jorge with the latest ndk. It says: Fatal >>>>> error: invalid -march= option: `armv5te' >>>>> >>>>> Any clue? osg built just ok >>>>> >>>>> >>>>> On Thu, Apr 11, 2013 at 9:02 PM, Jorge Izquierdo Ciges < >>>>> jori...@gmail.com> wrote: >>>>> >>>>>> Trajce, please dump the logcat because i think i know what's >>>>>> happening. >>>>>> >>>>>> >>>>>> 2013/4/11 Jan Ciger <jan.ci...@gmail.com> >>>>>> >>>>>>> On 04/11/2013 06:50 PM, Trajce Nikolov NICK wrote: >>>>>>> >>>>>>>> Just a question. Can the 3rd party libs be compiled with some >>>>>>>> switches? >>>>>>>> Are you using the one pre-built available on wiki? >>>>>>>> >>>>>>> >>>>>>> I am using those on the Wiki. >>>>>>> >>>>>>> However, do check the Logcat for any errors - if the app crashes or >>>>>>> is killed, the stacktrace in the log will tell you why that happened. >>>>>>> Unless you retrieve the stack trace from there we are just shooting in >>>>>>> the >>>>>>> dark. The problem could be something entirely different from the >>>>>>> ABI/Neon >>>>>>> issues even though this is a most common cause why the examples crash. >>>>>>> >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> Jan >>>>>>> ______________________________**_________________ >>>>>>> osg-users mailing list >>>>>>> osg-users@lists.**openscenegraph.org<osg-users@lists.openscenegraph.org> >>>>>>> http://lists.openscenegraph.**org/listinfo.cgi/osg-users-** >>>>>>> openscenegraph.org<http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org> >>>>>>> >>>>>> >>>>>> >>>>>> _______________________________________________ >>>>>> osg-users mailing list >>>>>> osg-users@lists.openscenegraph.org >>>>>> >>>>>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> trajce nikolov nick >>>>> >>>> >>>> >>>> >>>> -- >>>> trajce nikolov nick >>>> >>> >>> >>> >>> -- >>> trajce nikolov nick >>> >> >> >> >> -- >> trajce nikolov nick >> > > > > -- > trajce nikolov nick > -- trajce nikolov nick
_______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org