weimingtom / nehe-android

Automatically exported from code.google.com/p/nehe-android
0 stars 1 forks source link

With OpenGLDemo built from source, demos 6-23 do not work properly #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Sync up with latest source on SVN
2. Build and run the OpenGL on the emulater and real devices
3.

What is the expected output? What do you see instead?

-: Expected :-

The demos (6-23) should run and the objects can be manipulated with touch 
gesture.

-: Actual :-

The message
"The application OpenGLDemos {process ro.brite.android.opengl) has stopped 
unexpectedly. Please try again.

What version of the product are you using? On what operating system?

Latest NeHe source from SVN, Android 1.5 Emulator, Motorola Cliq, Android 2.1 
device

Please provide any additional information below.

Prebuilt apk works fine.

Original issue reported on code.google.com by ne4...@gmail.com on 27 Oct 2010 at 6:37

GoogleCodeExporter commented 8 years ago
I'm having the same problem.  I think it's related to how I'm building the app. 
 Here are the errors I get:

E/AndroidRuntime(13286): FATAL EXCEPTION: GLThread 10
E/AndroidRuntime(13286): java.lang.ExceptionInInitializerError
E/AndroidRuntime(13286):        at 
ro.brite.android.nehe06.GlRenderer.onSurfaceCreated(GlRenderer.java:152)
E/AndroidRuntime(13286):        at 
android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1317)
E/AndroidRuntime(13286):        at 
android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1116)
E/AndroidRuntime(13286): Caused by: java.lang.UnsatisfiedLinkError: Library 
opengl-math not found
E/AndroidRuntime(13286):        at 
java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime(13286):        at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime(13286):        at 
ro.brite.android.opengl.common.Utils.<clinit>(Utils.java:24)
E/AndroidRuntime(13286):        ... 3 more

I think I just need instructions on how to include the opengl-math code in my 
project.  Some build instructions would be helpful.

Original comment by david20...@gmail.com on 6 Jan 2011 at 12:34