Hands-On GUI Application Development in Go
上QQ阅读APP看书,第一时间看更新

Windows

Cross-compiling with Windows is a little more complicated as there is no standard package manager. The recommended approach is to install Cygwin (from cygwin.com/install.html). Then install the gtk3 and linux-gcc (cross compiler) packages. From there, follow the preceding instructions for macOS, but use CC=linux-gcc and CXX=linux-g++.