Author Topic: FrameBuffer problem  (Read 1743 times)

Offline Strijar

  • byte
  • *
  • Posts: 2
    • View Profile
FrameBuffer problem
« on: March 18, 2014, 09:50:18 am »
Hello!

 I try to run the example HelloWorld-AE on the Archos 5 IT (Android 1.6) but I get an error when create FrameBuffer:

Quote
03-18 12:29:20.888: I/jPCT-AE(5216): onCreate
03-18 12:29:22.646: D/libEGL(5216): loaded /system/lib/egl/libGLES_android.so
03-18 12:29:22.685: D/libEGL(5216): loaded /system/lib/egl/libEGL_POWERVR_SGX530_121.so
03-18 12:29:22.747: D/libEGL(5216): loaded /system/lib/egl/libGLESv1_CM_POWERVR_SGX530_121.so
03-18 12:29:22.872: D/libEGL(5216): loaded /system/lib/egl/libGLESv2_POWERVR_SGX530_121.so
03-18 12:29:24.872: V/1(5216): com.threed.jpct.example.HelloWorld$MyRenderer@45d4f368
03-18 12:29:24.942: E/dalvikvm(5216): Could not find method android.opengl.GLES20.glGetError, referenced from method com.threed.jpct.GLRenderer.checkError
03-18 12:29:24.942: W/dalvikvm(5216): VFY: unable to resolve static method 90: Landroid/opengl/GLES20;.glGetError ()I
03-18 12:29:24.942: W/dalvikvm(5216): VFY:  rejecting opcode 0x71 at 0x0000
03-18 12:29:24.942: W/dalvikvm(5216): VFY:  rejected Lcom/threed/jpct/GLRenderer;.checkError (Ljava/lang/String;)V
03-18 12:29:24.942: W/dalvikvm(5216): Verifier rejected class Lcom/threed/jpct/GLRenderer;
03-18 12:29:24.958: W/dalvikvm(5216): threadid=17: thread exiting with uncaught exception (group=0x4001aa38)
03-18 12:29:24.958: E/AndroidRuntime(5216): Uncaught handler: thread GLThread 9 exiting due to uncaught exception
03-18 12:29:24.989: E/AndroidRuntime(5216): java.lang.VerifyError: com.threed.jpct.GLRenderer
03-18 12:29:24.989: E/AndroidRuntime(5216):     at com.threed.jpct.FrameBuffer.<init>(FrameBuffer.java:93)
03-18 12:29:24.989: E/AndroidRuntime(5216):     at com.threed.jpct.example.HelloWorld$MyRenderer.onSurfaceChanged(HelloWorld.java:173)
03-18 12:29:24.989: E/AndroidRuntime(5216):     at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1103)
03-18 12:29:24.989: E/AndroidRuntime(5216):     at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:968)

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: FrameBuffer problem
« Reply #1 on: March 18, 2014, 12:02:22 pm »
That's because the GLRenderer now contains a reference to a class that doesn't exist on 1.6. It's not supposed to do this, i'll fix it this evening.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: FrameBuffer problem
« Reply #2 on: March 18, 2014, 08:41:23 pm »
This version should fix the problem: http://jpct.de/download/beta/jpct_ae.jar

Offline Strijar

  • byte
  • *
  • Posts: 2
    • View Profile
Re: FrameBuffer problem
« Reply #3 on: March 19, 2014, 06:24:34 am »
Thank's! Now work! And in ADT emulator too  ;)