DirectFB

1.   错误提示:
error while loading shared libraries: libdirectfb-1.0.so.0: cannot open shared object file: No such file or directory

解决: 编辑文件 /etc/ld.so.conf
里面加入一行 /usr/local/lib (这个路径是directfb最后被安装的路径 如果在./configure安装时,没有使用参数--prefix,那么默认路径就是 /usr/local)

2.   错误提示:
=======================| DirectFB 1.1.1 |=======================
(c) 2001-2007 The DirectFB Organization (directfb.org)
(c) 2000-2004 Convergence (integrated media) GmbH
------------------------------------------------------------

(*) DirectFB/Core: Single Application Core. (2007-04-30 04:04)
(!) Direct/Util: opening '/dev/fb0' failed
--> No such device
(!) DirectFB/FBDev: Error opening framebuffer device!
(!) DirectFB/FBDev: Use 'fbdev' option or set FRAMEBUFFER environment variable.
(!) DirectFB/Core: Could not initialize 'system' core!
--> Initialization error!

解决:打开 FrameBUfffer,即编辑 /etc/grub.conf文件
  在
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet
后面加上
vga= 788
如下:
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/ rhgb quiet vga= 788
重新启动,在启动过程中,注意左上角会出现企鹅图标(之前是没有的)

你可能感兴趣的:(c,object,File,application,System,initialization)