MiniGui演示程序常见错误

来源:互联网 发布:三众软件 编辑:程序博客网 时间:2024/05/15 23:46
1.安装minigui
到http://www.minigui.com/index.php?id=download&L=1下载minigui-procs-dev-2.0.4ubuntu7.10-i386.deb
2.下载演示包
http://www.minigui.com/index.php?id=download&L=1下载实例包。
mde-2.0.4.tar.gz
mg-samples-2.0.4.tar.gz
3.编译实例包:
tar zxvf mde-2.0.4.tar.gz
tar zxvf mg-sample-2.0.4.tar.gz
4.进入mde-2.0.4.tar.gz目录
./configure
sudo make
5.进入mginit
./mginit
或者进入另一个实例包:mg-sample-2.0.4/
./configure
sudo make
cd src
./mginit ****                               //*******为src目录下面的可执行文件


如果出现错误:
1)InitGUI (step 3): There is already an instance of 'mginit'!
解决方法:sudo rm /var/tmp/mginit
2)NEWGAL: Does not find matched engine: qvfb.
InitGUI (step 4): Can not get graphics engine information!
解决方法:启动qvfb &
3)NEWGAL: Video mode smaller than requested.
NEWGAL: Set video mode failure.
InitGUI (step 4): Can not initialize graphics engine!
解决:将qvfb的configure改成640*480
4)LoadSharedResource: File exists
InitGUI (step 8): Can not load shared resource!
段错误
解决办法:ipcs -st
删除列出的信号量:ipcrm -s 信号量id
原创粉丝点击