[Ffmpeg-devel] XOpendisplay

Christian Iversen chrivers
Thu Jan 26 17:44:22 CET 2006


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

-- 
Regards,
Christian Iversen





More information about the ffmpeg-devel mailing list