title: Golang GUI fyne-io help set up?
body: <p>I just can not configure the GUI <a href="https://github.com/fyne-io/fyne" rel="nofollow noreferrer">fyne-io</a>. <code>go get fyne.io/fyne</code> gave an error </p>
  
  <blockquote>
    <p>package fyne.io/fyne: unrecognized import path "fyne.io/fyne" (https fetch: Get <a href="https://fyne.io/fyne?go-" rel="nofollow noreferrer">https://fyne.io/fyne?go-</a>
    get=1: dial tcp: lookup fyne.io: no such host)</p>
  </blockquote>
  
  <p>It’s good that IDE from JetBrains installed it from import </p>
  
  <p><code>import (
      "fyne.io/fyne/widget"
      "fyne.io/fyne/app"
  )</code></p>
  
  <p>Then at <strong>go run</strong> there was an error </p>
  
  <blockquote>
    <p>exec: “gcc”: executable file not found in %PATH%</p>
  </blockquote>
  
  <p>Installation <a href="http://tdm-gcc.tdragon.net/download" rel="nofollow noreferrer">TDM-GCC</a> helped solve the problem</p>
  
  <p>And then I can not move. </p>
  
  <pre><code>package main
  
  import (
      "fyne.io/fyne/widget"
      "fyne.io/fyne/app"
  )
  
  func main() {
      app := app.New()
  
      w := app.NewWindow("Hello")
      w.SetContent(widget.NewVBox(
          widget.NewLabel("Hello Fyne!"),
          widget.NewButton("Quit", func() {
              app.Quit()
          }),
      ))
  
      w.ShowAndRun()
  }
  </code></pre>
  
  <p>After go run error</p>
  
  <blockquote>
    <p>2019/03/26 13:51:11 Fyne error:  failed to initialise OpenGL</p>
    
    <p>2019/03/26 13:51:12   Cause: glClientWaitSync</p>
    
    <p>2019/03/26 13:51:12   At: C:/gopath/src/fyne.io/fyne/driver/gl/window.go:834</p>
    
    <p>panic: runtime error: invalid memory address or nil pointer dereference</p>
    
    <p>[signal 0xc0000005 code=0x0 addr=0x10 pc=0x589c9d]</p>
  </blockquote>
  
  <p><a href="https://github.com/go-gl/gl" rel="nofollow noreferrer">gl</a> installed</p>