您的位置:首页 > 产品设计 > UI/UE

android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''.

2013-05-15 21:02 423 查看
root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib/jni# cd ..

root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib# cd .;

root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib# cd ...

bash: cd: ...: No such file or directory

root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib# ls

AndroidManifest.xml assets bin gen jni project.properties res src

root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib# ndk-build

Invalid tag name: MANIFEST


/home/zhangbin/android/android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.

参考http://www.mmihome.net/forum.php?mod=viewthread&tid=3

参考http://www.mmihome.net/forum.php?mod=viewthread&tid=3

在编译ndk生成so动态库的时候,可能会碰到错误:

android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist' function: ''. Stop.

解决办法:把AndroidManifest.xml先move到别的地方,编译生成so库,在把AndroidManifest.xml移回来即可。
root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib# ndk-build

Compile thumb : avjni <= av.c

Compile thumb : avjni <= avsourcefile.c

Compile thumb : avjni <= avsourcerawstream.c

Compile thumb : avjni <= avsourcerawrtp.c

Compile thumb : avjni <= avsinkaudio.c

jni/avsinkaudio.c: In function 'avSinkAudioDecodePacket':

jni/avsinkaudio.c:79:5: warning: 'avcodec_decode_audio3' is deprecated (declared at jni/include/libavcodec/avcodec.h:3852) [-Wdeprecated-declarations]

Compile thumb : avjni <= avsinkvideo.c

Compile thumb : avjni <= avjni.c

Compile thumb : avjni <= avjni_sourcefile.c

Compile thumb : avjni <= avjni_sourcerawstream.c

Compile thumb : avjni <= avjni_sourcerawrtp.c

Compile thumb : avjni <= avjni_sinkaudio.c

Compile thumb : avjni <= avjni_sinkvideo.c

SharedLibrary : libavjni.so

Install : libavjni.so => libs/armeabi/libavjni.so

root@Ubuntu32:/home/zhangbin/codeStore/latencyFFmpeg***Lib/libs/FFMpeg***Lib#
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐