您的位置:首页 > Web前端

ffplay无法编译,连接错误

2007-07-30 20:00 411 查看
首先要确认Makefile-〉config.mak中有

CONFIG_FFPLAY=yes

否则重新./configure, 然后make,若出现

On Thursday 26 January 2006 16:55, Peter wrote:
> Hi,
>
> how can I solve this problem in the compilation process:
>
> ffplay.o(.text+0x4af4): In function `main':
> /root/ffmpeg/ffmpeg/ffplay.c:2455: undefined reference to `XOpenDisplay'
> ffplay.o(.text+0x4b2c):/root/ffmpeg/ffmpeg/ffplay.c:2459: undefined
> reference to`XCloseDisplay'
> collect2: ld returned 1 exit status
> make: *** [ffplay_g] Error 1

You need to link with X11. Try -lX11
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
相关文章推荐