1.安装fusion。自带的README文件有详细步骤说明。在第二步时如果你使用的Fedora就在/etc/rc.d/rc.local最后添加一行: /sbin/modprobe fusion 。在第四步时把MODE值改为"0666"这样所有用户就都可以使用了。
2.编译Debug版本的DirectFB。DirectFB源代码也在 /home/xxx/DirectFB-1.1.1/下。
./configure --prefix=/home/xxx/DirectFB-1.1.1/ --enable-debug --enable-multi
3.make
3.make install
4.export PKG_CONFIG_PATH=/home/xxx/DirectFB-1.1.1/lib/pkgconfig/
5.编译DirectFB应用程序,加上调试参数 -g。
6.export LD_LIBRARY_PATH=/home/xxx/DirectFB-1.1.1/lib/
7.gdb myprogram
Good Luck!^_^
本文提供了一套详细的步骤来安装Fusion并配置DirectFB环境进行调试。包括修改系统配置、编译DirectFB及其应用程序等关键步骤。
841

被折叠的 条评论
为什么被折叠?



