Android NDK的问题

Android NDK的问题,android,android-ndk,ffmpeg,Android,Android Ndk,Ffmpeg,我尝试在自己的android应用程序中添加并编译ffmpeg库。当我在jni中添加本机支持和ffmpeg库时,Eclipse会显示许多错误,例如: uint8_t *bufferConverted=NULL; static GLuint textureConverted=0; 错误: Type 'uint8_t' could not be resolved Symbol 'NULL' could not be resolved Type 'GLuint' could not be resol

我尝试在自己的android应用程序中添加并编译ffmpeg库。当我在jni中添加本机支持和ffmpeg库时,Eclipse会显示许多错误,例如:

uint8_t  *bufferConverted=NULL;
static GLuint textureConverted=0;
错误:

Type 'uint8_t' could not be resolved
Symbol 'NULL' could not be resolved
Type 'GLuint' could not be resolved
如何解决此问题?

我解决此问题!!) 在projectproperties->C/C++General->路径和符号->Includes 并添加以下路径:

C:\android-ndk\platforms\android-5\arch-arm\usr\include
我解决了这个问题!!)) 在projectproperties->C/C++General->路径和符号->Includes 并添加以下路径:

C:\android-ndk\platforms\android-5\arch-arm\usr\include

在我的例子中,我需要使用/arch-x86_64/usr/include。我使用mac OS 64位,NULL也没有解决,但在我的例子中,我需要使用/arch-x86_64/usr/include。我使用mac OS 64位,但NULL也没有解析