将 Msys2 shell 切换到源码目录,运行:gcc `pkg-config --cflags gtk+-3.0` -o app main.c `pkg-config --libs gtk+-3.0`就会在当前目录下生成 app.exe 文件,在 Msys2 shell 运行 ./app.exe 就会输出 1 。注:因为 Windows 本身并没有带 GTK+ runtime, 所以在 Powershell 下执行 .\app.exe ...
官方网站链接:https://www.gtk.org/download/windows.php GNOME开发者网站:GNOME开发者网站也提供了预编译的GTK3 for Windows。您可以在他们的下载页面中找到适用于Windows的GTK3安装包。GNOME开发者网站链接:https://developer.gnome.org/gtk3/stable/win32.html 第三方软件仓库:一些第三方软件仓库也提供了预编译...
2、下载gtk+运行库 我们需要GTK+ for Windows Runtime Environment 来sourceforge下载就好了:http://sourceforge.net/projects/gtk-win/ 二、安装 = = 这个貌似没什么可说的嘛…… 总之你下载了这些文件(我发帖时候的最新版本): gtk2-runtime-2.16.6-2010-02-24-ash.exe pycairo-1.8...
edited First of all, let me thank for the great library, which I have run without problems on MacOS and Linux. Windows requires GTK3 Runtime, which worked in one case. On one specific Windows 10 platform (weasyprint-54.0, python 3.9), I get the however the following error: ...
GTK+ Runtime Environment for Windows 由于GTK主要是作为Unix-like系统底下的接口,在Windows使用该系统所开发的软件时就需要用到GTK+ 运行环境,即GTK+ Runtime Environment for Windows。这个软件与GTK+不同的地方在于它仅仅是为了运行软件用途而制作,以解决Windows没有内置GTK+库的问题。
1) GTK (for windows) http://sourceforge.net/project/showfile ... p_id=71914 You will want the GTK+ Runtime Environment (V 2.16 atm) You may also want: GTK+ Themes Installer (2008-10-22) 2) py{GTK,GObject,Cairo} pyGTK:http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk ...
在Glade/Gtk+ for Windows 下载开发包,这个是已经编译配置好的安装程序,可以省却不少麻烦。下载一个 gtk-dev-2.12.9-win32-2.exe 就行了。Runtime 好像可以不装。 运行以后,会选择配置 IDE 环境,选上 Dev-C++ 即可。 这个时候,环境变量以及Dev C++ 的目录设置都应该配置好了。
http://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/1.2/里下载到,下载并安装.然后需要glade和Gtk-2.0的runtime,可以在http://gladewin32.sourceforge.net找到,下载它的dev安装包,我使用的是它的2.10版本根据情况可以下载新版本.下载完毕安装.
gtk 3.24.24 for win32 GTK+(GIMP Toolkit)是一套源码以LGPL许可协议分发、跨平台的图形工具包。最初是为GIMP写的,已成为一个功能强大、设计灵活的一个通用图形库,是GNU/Linux下开发图形界面的应用程序的主流开发工具之一。并且,GTK+也有Windows版本和Mac OS X版。这个资源是 Windows 版本 ...
GTK+ for Windows 地址01:win32版本,GTK+ – Download地址02:GTK+2 for Windows Runtime Environment download | SourceForge.net地址03:http://gladewin32.sourceforge.net/ 第二步、安装GTK+ 第三步、加载系统环境变量 软件安装的时候,一般会自动加载。也可以手动加载,将其中bin文件夹,加入进系统环境变量, ...