Chinaunix首页 | 论坛 | 博客
  • 博客访问: 806040
  • 博文数量: 244
  • 博客积分: 10000
  • 博客等级: 上将
  • 技术积分: 2420
  • 用 户 组: 普通用户
  • 注册时间: 2007-09-29 09:07
文章分类

全部博文(244)

文章存档

2011年(4)

2010年(3)

2009年(72)

2008年(119)

2007年(46)

我的朋友

分类: LINUX

2007-12-01 23:46:56

DFBCar is a linux lightweight embedded directfb program written in C and geared towards use in a car on small lcd screens. This system uses xine-lib for media playback and DirectFB library for the gui and video output.

REQUIREMENTS:
vesafb at least in the kernel
DirectFB-cvs
DirectFB-extra-cvs
xine-lib



要把DFBCar项目移植到板子上,必须先构建
Gtk+/DirectFb运行环境,我们可以在arm板上进行,也可以在pc上搭建相应的模拟环境。


构建Gtk+/DirectFb的开发环境
需要的软件包:
libxml2 zlib tslib



glib pango gtk+
整个编译过程通过脚本 DFBCar.sh 自动完成,每个包的编译选项在脚本中指定。
注意不要使用gtk+-2.10.13之前的版本,那些版本对directfb的支持不是很好

在pc上构建
Gtk+/DirectFb环境
sudo apt-get install libglib2.0-0 libglib2.0-dev libatk1.0-0
libatk1.0-dev libpango1.0-0 libpango1.0-dev libdirectfb-0.9-25 libdirectfb-dev

在pc上模拟:
安装sdl

sudo apt-get install libsdl1.2-dev

svn checkout


DFBCardCapabilities and GetCardCapabilities have been removed in DFB v
0.9.23 [1] and recent versions of the DFB GDK backend no longer
reference those symbols.
Old GTKDFB versions (like 2.0.9) still reference those symbols, so you
have to choose one of the following combinations:
-DFB 0.9.22 and GTKDFB 2.0.9
or
-DFB >=0.9.24 and GTKDFB >= 2.8




参考资料:

xine完全安装指南







阅读(1107) | 评论(0) | 转发(0) |
0

上一篇:emacs

下一篇:移植minimo

给主人留下些什么吧!~~