zoukankan      html  css  js  c++  java
  • Windows 安装 GTK+ 图文说明

    首先去官方下载:

    //官方网站
    http://www.gtk.org/download/index.php
    
    //下载链接
    http://win32builder.gnome.org/gtk+-bundle_3.6.4-20131201_win64.zip
    http://win32builder.gnome.org/gtk+-bundle_3.6.4-20130921_win32.zip
    

      

    解压到c盘:。http://www.cnblogs.com/osfipin/

    看懂英文的话,那个文本文档里有安装说明。

    To use it, create some empty folder like "c:gtk", Using either
    Windows Explorer's built-in zip file management, or the command-line
    unzip.exe, available for instance at
    ftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/unz552xN.exe
    unzip this bundle. Avoid Winzip! It is known to behave oddly.
    
    (But you presumably already did extract the files, as you are reading
    this file.)
    
    Then add the bin folder to your PATH. Make sure you have no other
    versions of GTK+ in PATH. Run:
        pkg-config --cflags gtk+-3.0
    and verify that it prints out something reasonable. Prepare Pango :
        pango-querymodules > c:gtketcpangopango.modules
    Prepare GDK-Pixbuf :
        gdk-pixbuf-query-loaders > c:gtklibgdk-pixbuf-2.02.10.0loaders.cache
    Prepare GTK+-IMModules :
        gtk-query-immodules-3.0 > c:gtklibgtk-3.03.0.0immodules.cache
    Run:
        gtk3-demo
    and verify that it works.
    //http://www.cnblogs.com/osfipin/

    修改系统变量:

    重启电脑。运行:pkg-config --cflags gtk+-3.0

    出现此界面则说明安装成功。

    运行bin/gtk3-demo.exe.或者(运行gtk3-demo)

    出现界面:

  • 相关阅读:
    localhost和127.0.0.1及ip区别
    Linux常用命令大全
    百度搜红包相关代码(1)
    今天开博第一篇,呵呵
    杯具啊,中考
    新年感想
    【转】汇编语言基础
    margin与padding
    .net 中的Literal Label 控件、Literal 控件、Panel 控件和 Placeholder 控件
    HTML 5 中的新元素
  • 原文地址:https://www.cnblogs.com/osfipin/p/4713091.html
Copyright © 2011-2022 走看看