mplayer --enable-gui必须要x11支持吗,我的gtk已经是directfb了,还是出现错误.

azhui_992431 2006-06-08 12:17:54
我想用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: *** [mp_msg.o] Error 1

请问下,--enable-gui必须要有x11支持吗,
我的gtk已经是基于directfb的了,为什么呢?
...全文
394 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

18,772

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 专题技术讨论区
社区管理员
  • 专题技术讨论区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧