Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 5592a3b Jan 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Jan 10, 2019
.travis.yml Initial commit Jan 10, 2019
README.md Initial commit Jan 10, 2019
ide.glade Initial commit Jan 10, 2019
ide_glade.go Initial commit Jan 10, 2019

README.md

GUIDE TO CREATE GUI WITH GOTK3 AND GLADE


Installations gotk3

$ go get github.com/gotk3/gotk3/...

GNU / Linux

$ sudo apt-get install libgtk-3-dev

Mac OS/X

$ brew install gtk-mac-integration gtk+3

Windows

Reference: https://www.gtk.org/download/windows.php

  • Download and install MSYS2

  • Install GTK+3 and its dependencies

$ pacman -S mingw-w64-x86_64-gtk3

Installation Glade

GNU / Linux

$ sudo apt-get install glade

Mac OS/X

$ brew install glade

Windows

$ pacman -S mingw-w64-x86_64-glade
  • Optionals
$ pacman -S mingw-w64-x86_64-devhelp
$ pacman -S mingw-w64-x86_64-toolchain base-devel

Example

Build and run the go code from ide

$ go run ide_glade.go

Issues

  • invalid flag in pkg-config --libs: -Wl,-luuid
$ bash -c "sed -i -e 's/-Wl,-luuid/-luuid/g' C:/msys64/mingw64/lib/pkgconfig/gdk-3.0.pc"
  • if pkg-config is not recognized as a command on Windows, remember to add C:\msys64\mingw64\bin to your PATH
You can’t perform that action at this time.