飞克网
标题:
GO图形框架GTK安装
[打印本页]
作者:
admin
时间:
2020-2-6 13:40
标题:
GO图形框架GTK安装
下载网址:
https://www.msys2.org/
安装相关软件:
pacman -S mingw-w64-x86_64-gtk3
pacman -S mingw-w64-x86_64-gtk2
pacman -S mingw-w64-x86_64-glade
pacman -S mingw-w64-x86_64-devhelp
pacman -S mingw-w64-x86_64-toolchain base-devel
配置环境变量(注意顺序)
C:\msys64\mingw64\bin
C:\msys64\user\bin
测试命令
pkg
-
config
--
cflags
gtk
+-2.0
make
-
v
msys2 修改国内源加速pacman
清华大学源:
/etc/pacman.d/mirrorlist.mingw32
Server =
https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686
/etc/pacman.d/mirrorlist.mingw64
Server =
https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64
/etc/pacman.d/mirrorlist.msys
Server =
https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch
https://blog.csdn.net/puputaoexin/article/details/81780492
链接更全
欢迎光临 飞克网 (http://feikechina.com/)
Powered by Discuz! X3.2