你如何在Windows上安装GTK + 3.0吗? [英] How do you install GTK+ 3.0 on Windows?

查看:1026
本文介绍了你如何在Windows上安装GTK + 3.0吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在$ C $个cblocks Win7的安装GTK + 3.0。遇到一些麻烦究竟找到如何做到这一点。

Trying to setup GTK+ 3.0 on Codeblocks Win7. Having some trouble finding exactly how to do this.

在GTK网站将指导您msys2。似乎有曾经是GTK网站的所有功能于一身的Windows捆绑不再有直接下载。

The GTK website directs you to msys2. It seems there was once a direct download on the GTK site for an all-in-one Windows bundle that is no longer there.

有遵循的指示,安装并更新msys2,我看没有提及GTK +,在安装的文件或MYSYS网站GTK指导你。

Having followed the instructions, installed and updated msys2, I see no reference to GTK+, in the installed files or on the mysys website that GTK directs you to.

它似乎很linuxy中受到不必要的愚蠢和不明确做一些事情,应该是简单的术语。也许我失去了一些东西,但它应该不会那么简单,下载一个压缩文件夹,提取和设置的路径?

Its seems very linuxy in terms of being unnecessarily and stupidly unclear to do something that should be simple. Maybe im missing something but should it not be as simple as downloading a zipped folder, extracting and setting up paths?

目前速度ID更快的学习C ++和使用Qt去。

At this rate id be faster learning C++ and going with Qt.

问题是在标题,我很惊讶,我不得不问的问题,这似乎是一个谷歌应该完全覆盖,但一切都我发现是与下载是不再可用GTK网站。我找不到任何有关的信息和msys2 GTK + 3.0。

The question is in the title, I am amazed I am having to ask the question, it seems like one that google should have completely covered but everything I am finding is relating to a download that is no longer available on the GTK website. I can find no info regarding msys2 and GTK+ 3.0.

先谢谢了。

推荐答案

在GTK +网站的问题是,没有人来维护这些二进制分发。用于Windows的previous二进制分发是GTK + 3.6,它被释放,我相信,早在2012年,如果不是更早。目前的版本是3.16,和3.18是名副其实的的距离被释放。 MSYS2是唯一支持的安装机制,它的更新频率不够。

The problem with the GTK+ website is that there is no one to maintain these binary distributions. The previous binary distribution for Windows was for GTK+ 3.6, which was released I believe way back in 2012, if not earlier. The current version is 3.16, and 3.18 is literally days away from being released. MSYS2 is the only supported installation mechanism, and it's updated frequently enough.

话虽这么说,你需要,如果你使用MSYS路径单独安装GTK +; MSYS不附带GTK +开箱。先从

That being said, you need to install GTK+ separately if you use the MSYS route; MSYS doesn't come with GTK+ out of the box. Start with

pacman -Ss gtk3

这应该给你的可能的软件包的列表来安装,包括32位和64位的MinGW的GTK +库。现在我忘记了自己的确切名称。

That should give you a list of possible packages to install, including the GTK+ libraries for both 32-bit and 64-bit MinGW. I forget their exact names now.

一旦你找到一个你想要的,用

Once you find the one you want, use

pacman -S package-name-here

要安装它。然后,从开始菜单中的MSYS文件夹中打开MinGW的32位或64位壳牌开始开发。

to install it. Then, open the MinGW 32-bit or 64-bit Shell from the Start menu's MSYS folder to begin developing.

如果你想为GTK +编程的一个传统的IDE,查找GNOME Builder或Anjuta的。对于一个图形化的GUI设计器,查找格莱德。

If you want a traditional IDE for GTK+ programming, look up GNOME Builder or Anjuta. For a graphical GUI designer, look up Glade.

这篇关于你如何在Windows上安装GTK + 3.0吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆