标题:mplayer --enable-gui必须要x11支持吗,我的gtk已经是directfb了,还是出现错误.
作者:azhui_992431
日期:2006-06-07 23:48
内容:
leg兄在吗
能否把你给mplayer加上gui的测试代码发一份给我,我本想用gtk+/directfb,且gtk+,directfb等arm版本都移植好了.并且我的配置在修改configure (把gui检测处的关于x11检测去掉)后也能通过
./configure --host-cc=gcc --cc=arm-linux-gcc --target=arm-armv4l-linux --enable-static --prefix=/tmp/mplayer --disable-win32--disable-dvdread --enable-fbdev --disable-mencoder --disable-live --enable-png --enable-gui 2>&1 | tee logfile
但是在make的时候出现了问题
Gui/wm/ws.h:10:22: X11/Xlib.h: No such file or directory
Gui/wm/ws.h:11:23: X11/Xutil.h: No such file or directory
Gui/wm/ws.h:12:24: X11/keysym.h: No such file or directory
Gui/wm/ws.h:13:23: X11/Xatom.h: No such file or directory
Gui/wm/ws.h:14:33: X11/extensions/XShm.h: No such file or directory
In file included from Gui/mplayer/widgets.h:15,
from mp_msg.c:19:
......
......
In file included from mp_msg.c:19:
Gui/mplayer/widgets.h:41: error: parse error before "guiIcon"
Gui/mplayer/widgets.h:41: warning: data definition has no type or storage class
Gui/mplayer/widgets.h:42: error: parse error before "guiIconMask"
Gui/mplayer/widgets.h:42: warning: data definition has no type or storage class
make: *** Error 1
请问下,--enable-gui必须要有x11支持吗,
我的gtk已经是基于directfb的了,为什么呢?
#1 [shiroki 06-08 10:34]
这个帖子为什么发到qtopia版阿, 和qtopia没有任何关系
而且问题问得很奇怪, mplayer gui依赖x11没什么可惊讶的亚, 除非你能把mplayer里所有X打头的函数用gtk或者普通的linux函数代替, 不然Xlib估计去不掉。
#2 [azhui_992431 06-08 20:56]
那请问shiroki知道怎么用qte给mplayer加个gui吗?
#3 [shiroki 06-10 20:13]
要是让我做可能能做出来,但是太复杂了。而且做不到像gmplayer那么完美
我看坛子里有人做出来啦,你找他们问问就是了