2009年2月9日 星期一

minigui

安裝 qvfb 在 qt3-dev-tools-embedded 這個套件中就有 qvfb 程式:
$apt-get install qt3-dev-tools-embedded
安裝libjpeg-dev 資料庫 
$sudo apt-get install libjpeg-dev
 ------->>
執行 qvfb 必須調整設定
   640*480-32bpp display mode. 
範例程式必須在640*480以上模式才能正常顯示!!
Installing resource files of MiniGUI
    必須按照下列步驟安裝:
        1) Use `tar' to extract minigui-res-1.6.x.tar.gz. You can use
           the following command:
           $ tar zxf minigui-res-1.6.x.tar.gz
        2) Change to new directory and run `make' as a super user:
           $ sudo make install

Configure and compile MiniGUI
    MiniGUI uses `automake' and `autoconf', so configuration and compilation
    of MiniGUI are very easy:
        1) Use `tar' to extract `libminigui-1.6.x.tar.gz' to a new directory:
           $ tar zxf libminigui-1.6.x.tar.gz
        2) Change to the new directory and run `./configure':
           $ ./configure
        3) Run the following commands to compile and install MiniGUI:
           $ make;sudo make install;
        4) By default, libraries of MiniGUI will be installed in
           `/usr/local/lib'. You should make sure that this directory
           is listed in `/etc/ld.so.conf' file. And after having installed
           them, you should run the following command to update the cache
           of shared library system:
           $ sudo ldconfig
        5) If you want to specify which features MiniGUI provides, you
           can run
           $ ./configure --help
           to see the complete configuration options listed, then disable or
           enable some features by using command line switches. For example,
           if you do not want MiniGUI to load JPEG pictures via the function
           LoadBitmap, you can use
           $ ./configure --disable-jpgsupport
      
 執行範例程式
 $ tar zxvf mde-1.6.10.tar.gz
 $ cd mde-1.6.10
 $ ./configure
 $ make
 $ cd same
 $ ./same
----->> 底下是範例 mgis
  1. Unpack proj-4.4.7.tar.gz
    • ./configure
    • make
    • sudo make install
  2. Unpack gdal-1.2.6.tar.gz
    • ./configure --withou-pg --without-python --without-jasper --without-odbc
    • make
    • sudo make install
  3. Unpack mgis-1.0.tar.gz
    • ./configure
    • make

所須要的程式都在這個網址http://www.minigui.org/downloads/

沒有留言:

張貼留言