Android NDK-BUILD Errors Summary
1. fatal error: <GLES/gl.h>: No such file or directory.
File “GLES/gl.h”located under the android ndk platform directory, but you will notice that there are several versions exists. What you need to do is to find a place to specify which android level you will use. The solution as following:
2. When you specify the third-part libraries or include path in your Android.mk file, the directory path will relative to the jni directory.
3. Need ‘typename’ before std::list<Type*>, because std::list<Type*> is a depedent scope.
4. extra qualification ‘TMatrix33’ on member ‘inverse’[-fpermissive]
The above are some build errors I met when I was porting a demo from PC to Android.