Game Development Reference
In-Depth Information
Figure A-7. OpenGL libraries within the NDK
You can extract the OpenGL library from the device using the console command:
adb pull /system/lib/libGLESv1_CM.so libGLESv1_CM.so
Tip Note that libGLESv1_CM.so is the name of the OpenGL library for firmware version 1.2 or later, and
libGLES_CM.so is for firmware version 1.0. This means that libraries compiled for firmware 1.2 or later will not
run in firmware 1.0.
Compiling Doom with NDK 1.6
If you read this topic carefully, you'll get the sense that that I don't like the NDK 1.5 (when I started in
this project the NDK didn't even exist). I think the NDK 1.5 is cumbersome to use, because of the lack of
integration with the Eclipse workbench. Plus, version 1.5 has only the bare bones to compile a native
library (that is, the C runtime, Compression library, and basic C++ support). Just when this topic was
being finished up, Google released the NDK 1.6, a nice improvement over 1.5. Here are the highlights of
this new version:
Search WWH ::




Custom Search