DirectFB - README(2)

Installation

 

1) In the DirectFB directory type:

./configure <options>

make

make install (as superuser)

 

Use './configure --help' to get a list of possible configure options.

Imported options include:

--enable-multi    Enables the Multi Application Core

--enable-debug  Enables many debug messages and assertions

--enable-trace    Enables run time stack trace information

Debugging and especially stack trace support are a performance impact.

It may be noticably slower in some areas, e.g. text drawing.

 

You may use the options "no-debug" and "no-trace" by default, e.g. in '<prefix>/etc/directfbrc', and use "--dfb:debug,trace" on the command line if needed.

 

 

2) Make sure that "<prefix>/lib" is listed in your /etc/ld.so.conf.

The default prefix is "/usr/local". After adding it you have to run 'ldconfig' as superuser.

 

Alternatively, you can add the path to the environment variable LD_LIBRARY_PATH. This is useful for temporarily switching to another installed version.

 

 

3) You might want to copy fb.modes to /etc or merge it with your existing /etc/fb.modes file. The first entry will be used by default - copy other entries you may need.

 

If you want to use a serial mouse, create a link called /dev/mouse that points to serial device (e.g. /dev/ttyS0). Then add a line describing your mouse-protocol to /etc/directfbrc or ~/.directfbrc: "mouse-protocol=[ms|ms3|mouseman|mousesystems]".

 

5) If you are cross compiling and have installed the required libraries someplace other than /usr/local/lib be sure to add the bin directory for those libraries to the front of your 'PATH'.

For instance if you configured using:

--prefix=/dfb/usr/local

then be sure to

export PATH=/dfb/usr/local/bin:$PATH

before compiling and installing.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值