android编译faplayer遇到的错误

Compile arm    : ass_plugin <= libass.c 
In file included from jni/vlc/modules/codec/libass.c:43: 
jni/ext/libass/include/ass/ass.h:1: error: expected identifier or '(' before '.' token 
jni/vlc/modules/codec/libass.c: In function 'vlc_entry__libass': 
jni/vlc/modules/codec/libass.c:61: error: 'Create' undeclared (first use in this function) 
jni/vlc/modules/codec/libass.c:61: error: (Each undeclared identifier is reported only once 
jni/vlc/modules/codec/libass.c:61: error: for each function it appears in.) 
jni/vlc/modules/codec/libass.c: At top level: 
jni/vlc/modules/codec/libass.c:79: error: expected specifier-qualifier-list before 'ASS_Library' 
jni/vlc/modules/codec/libass.c:107: error: expected specifier-qualifier-list before 'ASS_Image' 
jni/vlc/modules/codec/libass.c:118: error: expected declaration specifiers or '...' before 'ASS_Image' 
jni/vlc/modules/codec/libass.c:119: error: expected declaration specifiers or '...' before 'ASS_Image' 

  根据错误提示可以知道,原因是:

  在libass.c的第43行引用的ass.h出错了,而且在ass.h的第1行。

  找到ass.h,内容如下:

   http://www.cnblogs.com/libass/ass.h

  环境中没能找到link的编译方法!

  我修改为:

  #include "http://www.cnblogs.com/libass/ass.h"

libdvbpsi的问题也是如此

你可能感兴趣的:(android)