The establishment of MiniGUI-1.3.3 Development Environment on PC

Source: Internet
Author: User

 

 

Step 1: Install the library file

# Tar zxvf libminigui-1.3.3.tar.gz

# Cd libminigui-1.3.3

#./Configure // use the default thread mode, and use lite mode when porting to the experiment box.

# Make

# Make install

 

Step 2: Install the resource file

# Tar zxvf minigui-res-1.3.3.tar.gz

# Cd minigui-res-1.3.3

# Make install

 

Step 3:

Modify the/etc/lD. So. conf file, add a line/usr/local/lib to it, and then execute # ldconfig

 

Step 4:

Modify/usr/local/etc/MiniGUI. cfg

Gal_engine = qvfb

Ial_engine = qvfb

[Qvfb]

Default Mode = 640 x 480-16pp

 

Step 5:

Install qvfb-1.0.tar.gz and download it from the MiniGUI website. An error occurs when qvfb with QT of a higher version is used.

#./Configure

# Make

# Make install

 

Step 6: Install the *** samples-1.3.0.tar.gz *** Program

# Tar zxvf mg-samples-1.3.0.tar.gz

# Cd mg-samples-1.3.1 // automatically becomes 1.3.1 after decompression!

#./Configure

# Make

# Cd SRC

 

Step 7: Test

# Qvfb &

Set qvfb first, file/configure, to 640x480 VGA, 16 bit. If the setting does not match/usr/local/etc/MiniGUI. cfg, the following error occurs:

Newgal: Set video mode failure.

GDI: Can not initialize graphics engine!

#./Helloworld

 

Step 8: Run MiniGUI in framebuffer

Modify/usr/local/etc/MiniGUI. cfg

Gal_engine = fbcon

Ial_engine = console

[Fbcon]

Default Mode = 800 x 600-16bpp // corresponding framebuffer VGA = 0x314 (800x600)

Modify Linux configurations

# Vi/etc/inittab

Change the default value of "ID: 5: initdefault:" In line 1 from "5" to "3", that is, change the default GUI to the character interface.

# Vi/boot/GRUB/grub. conf

Change 15 lines to kernel/vmlinz-2.4.20-8 Ro root = label =/VGA = 0x314 to set screen resolution

Restart the machine, enter the character interface, and then run the program.

 

The above code package can be found in my resources. The resource is called "minigui1.3 installation package"

Http: // xiaozhi_su.download.csdn.net/

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.