ubuntu16.04 minigui

打开minigui官网,http://www.minigui.com/download

Building MiniGUI 4.0

Prerequisites

First, make sure that you are using Ubuntu 16.04 LTS or 18.04 LTS.

Note:Ubuntu pc ram is greater than 4GB, otherwise the full compilation of minigui will fail.

You should run sudo apt install <package_name> to install the following packages on your Ubuntu system.

  • Building tools:
    • git
    • gcc/g++
    • binutils
    • autoconf/automake
    • libtool
    • make
    • cmake
    • pkg-config
  • Dependent libraries:
    • libgtk2.0-dev
    • libjpeg-dev
    • libpng12-dev (libpng-dev on Ubuntu 18.04 instead)
    • libfreetype6-dev
    • libinput-dev
    • libdrm-dev
    • libsqlite3-dev
    • libxml2-dev
    • libssl1.0-dev
    • electric-fence (used by mg-tests)

Note that if you are using Ubuntu 18.04, please install libpng-dev. Ubuntu 18.04 does not provide support for libpng12-dev.

Steps

Please make sure that you can visit GitHub and you can do sudo on your Ubuntu system.

  1. Clone build-minigui-4.0 repository from GitHub:

     $ git clone git@github.com:VincentWei/build-minigui-4.0.git
     $ cd build-minigui-4.0
    
  2. Copy config.sh to myconfig.sh and edit myconfig.sh to match your needs:

     $ cp config.sh myconfig.sh
    
  3. Run fetch-all.sh to fetch all source code from GitHub:

     $ ./fetch-all.sh
    
  4. Run build-deps.sh to build and install gvfb, chipmunk, and harfbuzz:

     $ ./build-deps.sh
    
  5. Run build-all.sh to build all:

     $ ./build-all.sh
    
  6. Run mguxdemo:

     $ cd /usr/local/bin
     $ ./mguxdemo
    

When there is any update in the remote repos, you can run update-all.sh to update. You can run clean-build-all.sh to uninstall, clean, and re-install them.

Note that you might need to run ldconfig to refresh the shared libraries cache before running mguxdemo.

 

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值