在哪里可以下载预编译的 GTK+ 3 二进制文件或 Windows 安装程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/6006689/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-09 08:22:39  来源:igfitidea点击:

Where can I download precompiled GTK+ 3 binaries or windows installer?

windowsgtkgtk3

提问by ApprenticeHacker

I have taken a look at GTK+3 and I like it. But unfortunately compiling from source has never worked for me. Is there any okace with decent binaries or even better, a windows installer?

我看过 GTK+3 并且喜欢它。但不幸的是,从源代码编译从来没有对我有用。是否有合适的二进制文件甚至更好的 Windows 安装程序?

回答by liberforce

2020-03-19 update:

2020-03-19 更新:

GTK+ dropped the + and their website has been rewritten. So the install instructions for GTK on Windows are now at https://www.gtk.org/docs/installations/windows/

GTK+ 去掉了 + 并且他们的网站被改写了。因此,Windows 上 GTK 的安装说明现在位于https://www.gtk.org/docs/installations/windows/

2017-04-07 update:

2017-04-07 更新:

To make it clear, since 2017-06-23, the GTK+ project doesn't provide binary bundles for Windows. These are now provided by the MSYS2 project, with the blessing of the GTK+ team.

明确地说,自 2017 年 6 月 23 日起,GTK+ 项目不再为 Windows 提供二进制包。在 GTK+ 团队的支持下,这些现在由 MSYS2 项目提供。

MSYS2 provides the most up-to-date versions of GTK+ for Windows, as well as a complete toolchain, and other useful GTK-related development tools like:

MSYS2 为 Windows 提供了最新版本的 GTK+,以及完整的工具链,以及其他有用的 GTK 相关开发工具,例如:

  • Glade, the GUI designer
  • Devhelp, the offline documentation browser
  • GUI设计师Glade
  • Devhelp,离线文档浏览器

The official GTK+ website contains GTK+ installation instructions for Windows.

GTK+ 官方网站包含适用于 Windows 的 GTK+ 安装说明

2013-10-27 update:

2013-10-27 更新:

There's now an officially supported version of GTK 3 for Windows (GTK 3.6.4 as of today). You'll find it on the official GTK+ website, in the Downloadssection. Thanks to the GTK team, and to tarnyko for his work in this regard.

现在有一个官方支持的适用于 Windows 的 GTK 3 版本(截至今天是 GTK 3.6.4)。您可以在官方 GTK+ 网站下载部分找到它。感谢 GTK 团队,感谢 tarnyko 在这方面所做的工作。

2013-02-01 update:

2013-02-01 更新:

There's a French dude (tarnyko) providing an (unofficial) GTK 3 installer for Windows, based on the OpenSUSE binaries, and another guy providing another (unofficial, again) build. Might help. The gtk-listmailing list is the best place to check how this evolves through time.

有一个法国人 (tarnyko)为 Windows提供了一个(非官方的)GTK 3 安装程序,基于 OpenSUSE 二进制文件,另一个人提供了另一个(非官方的)构建。可能有帮助。在GTK列表邮件列表是通过时间来检查该如何发展最好的地方。

Original content:

原文内容:

There is currently no installer for GTK3 on Windows. However, the OpenSUSE Build System provides the Windows binaries for GTK3. On a GTK3 on Windowsthread of the GTK devel mailing list, Maarten Bosmans provided the download-mingw-rpm.pypython script, which automates the download of a package and its dependencies, and then uses 7-zip to unzip the content of the packages. See the post he explains how to use download-mingw-rpm.py.

目前在 Windows 上没有 GTK3 的安装程序。但是,OpenSUSE Build System为 GTK3提供了Windows 二进制文件。在GTK devel 邮件列表的Windows线程上的GTK3 上,Maarten Bosmans 提供了download-mingw-rpm.pypython 脚本,该脚本会自动下载包及其依赖项,然后使用 7-zip 解压缩其中的内容包。请参阅他解释如何使用 download-mingw-rpm.py的帖子。

回答by MiKom

It seems that proper Windows port is coming soon. According to this gnome developer blogpost:

似乎即将推出合适的 Windows 端口。根据这篇 gnome 开发者博客文章:

http://blogs.gnome.org/alexl/2011/11/25/gtk-work-on-windows/

http://blogs.gnome.org/alexl/2011/11/25/gtk-work-on-windows/

and it's comment section, Windows binaries should be available in near time.

在评论部分,Windows 二进制文件应该会在近期推出。

回答by Tarnyko

There's a GTK+ 3.4.2 Windows binary installer available here :

这里有一个 GTK+ 3.4.2 Windows 二进制安装程序:

http://www.tarnyko.net/?q=node/1

http://www.tarnyko.net/?q=node/1

With a development version containing libraries, headers, MinGW & Vala compilers at the bottom.

开发版本包含底部的库、头文件、MinGW 和 Vala 编译器。

回答by Wesley

I'm sharing the latest GTK+ and gtkmm binaries for Windows 32-bit through DropBox. Take a look.3.22.0 for GTK+ and 3.22.0 for gtkmm as of today.

我正在通过 DropBox 共享适用于 Windows 32 位的最新 GTK+ 和 gtkmm 二进制文件。 看一看。截至今天,GTK+ 为 3.22.0,gtkmm 为 3.22.0。

回答by tuma

This one is even fatter and wholesome, but targeted for pygi. GTK is version 3.6.4 http://opensourcepack.blogspot.com/p/pygobject-pygi-aio.html. BTW i'm former windows build mypaint maintainer which migrate to pygobject 3. Also for MinGW i'm providing the most badass MinGW distro http://opensourcepack.blogspot.com/p/tuma-mingw.html

这个更胖更健康,但针对的是pygi。GTK 是 3.6.4 版http://opensourcepack.blogspot.com/p/pygobject-pygi-aio.html。顺便说一句,我是前 windows 构建 mypaint 维护者,迁移到 pygobject 3。此外,对于 MinGW,我提供了最糟糕的 MinGW 发行版http://opensourcepack.blogspot.com/p/tuma-mingw.html