博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Windows 安装 GTK+ 图文说明
阅读量:4569 次
发布时间:2019-06-08

本文共 1298 字,大约阅读时间需要 4 分钟。

首先去官方下载:

//官方网站http://www.gtk.org/download/index.php//下载链接http://win32builder.gnome.org/gtk+-bundle_3.6.4-20131201_win64.ziphttp://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 eitherWindows Explorer's built-in zip file management, or the command-lineunzip.exe, available for instance atftp://tug.ctan.org/tex-archive/tools/zip/info-zip/WIN32/unz552xN.exeunzip this bundle. Avoid Winzip! It is known to behave oddly.(But you presumably already did extract the files, as you are readingthis file.)Then add the bin folder to your PATH. Make sure you have no otherversions of GTK+ in PATH. Run:    pkg-config --cflags gtk+-3.0and verify that it prints out something reasonable. Prepare Pango :    pango-querymodules > c:\gtk\etc\pango\pango.modulesPrepare GDK-Pixbuf :    gdk-pixbuf-query-loaders > c:\gtk\lib\gdk-pixbuf-2.0\2.10.0\loaders.cachePrepare GTK+-IMModules :    gtk-query-immodules-3.0 > c:\gtk\lib\gtk-3.0\3.0.0\immodules.cacheRun:    gtk3-demoand verify that it works. //http://www.cnblogs.com/osfipin/

修改系统变量:

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

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

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

出现界面:

转载于:https://www.cnblogs.com/osfipin/p/4713091.html

你可能感兴趣的文章
一些模板
查看>>
jquery和dom元素相互转换
查看>>
放大的X--HDOJ-201307292012
查看>>
题目831-签到-nyoj-20140818
查看>>
百词斩-斩家秘籍
查看>>
php反射
查看>>
Mysql主从配置,实现读写分离
查看>>
ES6中的Symbol
查看>>
1.8小结
查看>>
浅谈C#关于AOP编程的学习总结
查看>>
无障碍阅读
查看>>
bzoj1494 生成树计数 (dp+矩阵快速幂)
查看>>
关于Java的Daemon线程的理解
查看>>
Android开发之WebService介绍
查看>>
多线程死锁发生情景之一:同步的嵌套
查看>>
RestFramework之解析器
查看>>
Redis安装异常解决办法
查看>>
Jsonp post 跨域方案
查看>>
python字典操作和内置方法
查看>>
【Windows】Windows Restart Manager 重启管理器
查看>>