请教:关于静态编译DirectFB并且例子运行成功的
自己搞定了,嘿嘿
我静态编译的,./configure参数如下
- ./configure --prefix=/usr --enable-mmx=no --enable-sse=no --enable-sdl=no --enable-gif=yes --enable-jpeg=yes --with-gfxdrivers='none' --with-inputdrivers='none' --without-tools --disable-fast-install --disable-libtool-lock --enable-png=yes --enable-video4linux=no --enable-debug --enable-freetype=yes --enable-static=yes --enable-shared=no
- make
- make insall
复制代码
编译是完成了,也都通过了
但是当我运行例子程序的时候提示如下:
- [root@localhost src]# ./df_dioload
- (-) [ NO NAME 0.000] (15038) DirectFB/Config: Unable to open config file `/etc/directfbrc'!
- (-) [ NO NAME 0.001] (15038) DirectFB/Config: Unable to open config file `/root/.directfbrc'!
- (-) [ NO NAME 0.001] (15038) DirectFB/Config: Unable to open config file `/etc/directfbrc.df_dioload'!
- (-) [ NO NAME 0.001] (15038) DirectFB/Config: Unable to open config file `/root/.directfbrc.df_dioload'!
- ---------------------- DirectFB v0.9.24 ---------------------
- (c) 2000-2002 convergence integrated media GmbH
- (c) 2002-2004 convergence GmbH
- -----------------------------------------------------------
- (-) [ NO NAME 0.001] (15038) DirectFB/Core: dfb_core_create...
- (-) [ NO NAME 0.002] (15038) Direct/Main: direct_initialize() called...
- (-) [Main Thread 0.002] (15038) Direct/Main: ...initializing now.
- (-) [Main Thread 0.002] (15038) Direct/Signals: Initializing...
- (*) DirectFB/Core: Single Application Core. (2008-12-17 08:28) [ DEBUG ]
- (!) DirectFB/core/system: No system found!
- (-) [Main Thread 0.002] (15038) Direct/Main: direct_shutdown() called...
- (-) [Main Thread 0.002] (15038) Direct/Main: ...shutting down now.
- (-) [Main Thread 0.002] (15038) Direct/Signals: Shutting down...
- (#) DirectFBError [DirectFBCreate() failed]: No (suitable) implementation found!
- [root@localhost src]#
复制代码
如果是动态编译的话,他会执行成功,静态的话,就会在
- (!) DirectFB/core/system: No system found!
复制代码处出现问题
请有经验的朋友指点
[ 本帖最后由 T-bagwell 于 2008-12-18 14:16 编辑 ]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论