手把手教你在FC6下完整移植MiniGUI(四)(环境:EL-ARM-830)---安装 libminigui

来源:互联网 发布:淘宝的天猫国际卖假货 编辑:程序博客网 时间:2024/05/08 11:05
 

编译 libminigui

[user]# cd libminigui-1.3.3
[user]# make menuconfig //
就用图形界面来配置就好了,不要用一堆 –enable-xxx 之类的,太麻烦

如果在 make menuconfig 出错,去检查一下你的 gcc ,前面我们把它指向 arm-linux-gcc ,问一下,你改回来没有?

下面是配置libminigui

System Wide Options 里如下:

Build MiniGUI-Lite // Lite 方式编译,不是Thread 方式,这里适用于 PDA
[ ] Stand-Alone
[ ] Use incore (built-in) resource //
建议不要选这个,老有问题

Unit of timer is 10ms

Cursor support                //鼠标支持,不选择就没鼠标
[ ] User can move window with mouse //
建议别选这个,可以移动蛮烦人的

Mouse button can do double click

Build with debugging messages
[ ] Trace messages of MiniGUI //
不要选这个,出来的Trace太多,看不过来

Include symbol name of messages

GAL engine Options

(NEWGAL) GAL and its engines

NEWGAL engine on Linux FrameBuffer console
[ ] NEWGAL engine on Qt Virtual FrameBuffer //
建议不要选这个,不然老让你用qvfb
[ ] NEWGAL engine on eCos LCD interface

Dummy NEWGAL engine

Have console on Linux FrameBuffer


IAL engine options

[ ] EP7211-based board
[ ] ADS Graphics Client //
选了编译就通不过了 ,在fc6下会出现misc.c中的一些错误,建议暂时不选
[ ] iPAQ H3600 (also H3800)
[ ] MPC823
[ ] PX255B
[ ] NEC VR4181
[ ] Helio Touch Panel
[ ] MT T800

SMDK2410 Touch Screen
[ ] uClinux Touch Screen Palm/MC68EZ328

Dummy IAL engine

Native (console) input engine
--- Native IAL engine subdriver options
[ ] PS2 mouse
[ ] IntelligentMouse (IMPS/2) mouse
[ ] MS mouse
[ ] MS3 mouse

GPM daemon


Font Option

Raw bitmap font
[ ] Var bitmap font //
千万不要选这个,不然会出现 unreferenced vfb_Courier8x8() 之类的错误

Incore font sansserif

Incore font courier

Incore font symbol

Incore font vgas

Qt Prerendered Font

TrueType font
[ ] Adobe Type1 font


Image Options

Includes SaveBitmap-related functions
[ ] PCX file support
[ ] LBM/PBM file support
[ ] TGA file support

GIF file support

JPG file support

PNG file support

Input Medthold Option

IME (GB2312) support
[ ] IME (GB2312) Intelligent Pinyin module //
千万不要选这个,不然后面你的 mginit 程序一启动就崩溃了(Abort ,有点像 OOP 一样,显示所有的寄存器的值,然后Abort),暴不爽

出处:http://hi.baidu.com/luv%5Fresplendent/modify/blog/35e7ab7b165034f20ad187b5

原创粉丝点击