April 2015
Beginner to intermediate
494 pages
10h 26m
English
Let's load an OpenGL texture from a PNG file in DroidBlaster.
libpng source package (which is Version 1.6.10 in this book).The original libpng 1.6.10 archive is provided with this book in the Libraries/libpng folder.
Create a folder named libpng inside $ANDROID_NDK/sources/. Move all files from the libpng package into this.
Copy the file libpng/scripts/pnglibconf.h.prebuilt into the root folder libpng with other source files. Rename it as pnglibconf.h.
The folder $ANDROID_NDK/sources is a special folder considered as a module folder by default. It contains reusable libraries. See Chapter 9, Porting Existing Libraries ...
Read now
Unlock full access