Hi I compiled osg3.0.1 for android for GLES1. I seleceted avd of Android2.2 with API level of 8. There is no problem in starting the emulator.fine. I also compiled osgAndroidExampleGLES1 without any issue on eclipse. Running the application throws the following error,
05-04 05:38:01.375: D/libEGL(275): egl.cfg not found, using default config 05-04 05:38:01.375: D/libEGL(275): loaded /system/lib/egl/libGLES_android.so 05-04 05:38:01.385: W/EGLview(275): creating OpenGL ES 1 context 05-04 05:38:01.405: W/dalvikvm(275): threadid=7: thread exiting with uncaught exception (group=0x4001d800) 05-04 05:38:01.405: E/AndroidRuntime(275): FATAL EXCEPTION: GLThread 8 05-04 05:38:01.405: E/AndroidRuntime(275): java.lang.IllegalArgumentException 05-04 05:38:01.405: E/AndroidRuntime(275): at com.google.android.gles_jni.EGLImpl._eglCreateContext(Native Method) 05-04 05:38:01.405: E/AndroidRuntime(275): at com.google.android.gles_jni.EGLImpl.eglCreateContext(EGLImpl.java:50) 05-04 05:38:01.405: E/AndroidRuntime(275): at osg.AndroidExample.EGLview$ContextFactory.createContext(EGLview.java:103) 05-04 05:38:01.405: E/AndroidRuntime(275): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:922) 05-04 05:38:01.405: E/AndroidRuntime(275): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1246) 05-04 05:38:01.405: E/AndroidRuntime(275): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116) I like to know what went wrong Thanks ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=47548#47548 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org