技术开发 频道

DirectFB 之一:PC平台编译与安装

  8. 编译和安装示例程序

  # tar zxf DirectFB-examples-1.2.0.tar.gz

  # cd DirectFB-examples-1.2.0

  # ./configure \

  --prefix=/usr/local \

  --enable-debug

  # make

  # sudo make install

  示例程序如 df_andi 将被安装到 /usr/local/bin

  9. 运行示例程序

  # sudo depmod -a

  # sudo modprobe fusion # 安装 fusion 内核模块

  # cd /usr/local/bin

  # sudo ./df_andi

  ~~~~~~~~~~~~~~~~~~~~~~~~~~| DirectFB 1.3.0 |~~~~~~~~~~~~~~~~~~~~~~~~~~

  (c) 2001-2008 The world wide DirectFB Open Source Community

  (c) 2000-2004 Convergence (integrated media) GmbH

  ----------------------------------------------------------------

  (*) DirectFB/Core: Multi Application Core. (2009-03-15 08:52) [ DEBUG ]

  (*) Fusion/SHM: NOT using MADV_REMOVE (2.6.18.0 < 2.6.19.2)! [0x02061200]

  (*) Direct/Thread: Started 'Fusion Dispatch' (-1) [MESSAGING OTHER/OTHER 0/0] <10485760>...

  (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...

  (*) DirectFB/Input: AT Translated Set 2 keyboard (1) 0.1 (directfb.org)

  (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...

  (*) DirectFB/Input: HID 413c:3010 (2) 0.1 (directfb.org)

  (*) Direct/Thread: Started 'Linux Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...

  (*) DirectFB/Input: PC Speaker (3) 0.1 (directfb.org)

  (*) Direct/Thread: Started 'X11 Input' (-1) [INPUT OTHER/OTHER 0/0] <10485760>...

  (*) DirectFB/Input: X11 Input 0.1 (directfb.org)

  (*) DirectFB/Genefx: MMX detected and enabled

  (*) DirectFB/Graphics: MMX Software Rasterizer 0.6 (directfb.org)

  (*) DirectFB/Core/WM: Default 0.3 (directfb.org)

  (*) X11/Window: Creating 1280x1024 RGB32 window...

  (*) X11/Display: Using XShm.

  (*) X11/Window: Creating 1280x1024 RGB32 window...

  (*) X11/Display: Using XShm.

  (*) Direct/Interface: Loaded 'FT2' implementation of 'IDirectFBFont'.

  (*) Direct/Interface: Loaded 'PNG' implementation of 'IDirectFBImageProvider'.

  (*) Direct/Interface: Loaded 'JPEG' implementation of 'IDirectFBImageProvider'.

  hoho,无数的企鹅出现了~~~~~~~~~~~

0
相关文章