skelterjohn / go.wde

Windows, drawing and events for Go
217 stars 46 forks source link

wdetest: unresolved dependencies after go get #39

Closed cznic closed 9 years ago

cznic commented 10 years ago
jnml@r630 ~ $ go get github.com/skelterjohn/go.wde
jnml@r630 ~ $ cd ~/src/github.com/skelterjohn/go.wde/wdetest/
jnml@r630 ~/src/github.com/skelterjohn/go.wde/wdetest $ go run wdetest.go 
../xgb/xgb.go:21:2: cannot find package "github.com/BurntSushi/xgb" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgb (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgb (from $GOPATH)
../xgb/events.go:21:2: cannot find package "github.com/BurntSushi/xgb/xproto" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgb/xproto (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgb/xproto (from $GOPATH)
../xgb/xgb.go:23:2: cannot find package "github.com/BurntSushi/xgbutil" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil (from $GOPATH)
../xgb/icon.go:21:2: cannot find package "github.com/BurntSushi/xgbutil/ewmh" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/ewmh (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/ewmh (from $GOPATH)
../xgb/events.go:22:2: cannot find package "github.com/BurntSushi/xgbutil/icccm" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/icccm (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/icccm (from $GOPATH)
../xgb/events.go:23:2: cannot find package "github.com/BurntSushi/xgbutil/keybind" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/keybind (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/keybind (from $GOPATH)
../xgb/events.go:24:2: cannot find package "github.com/BurntSushi/xgbutil/xevent" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/xevent (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/xevent (from $GOPATH)
../xgb/events.go:25:2: cannot find package "github.com/BurntSushi/xgbutil/xgraphics" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/xgraphics (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/xgraphics (from $GOPATH)
../xgb/xgb.go:28:2: cannot find package "github.com/BurntSushi/xgbutil/xwindow" in any of:
    /home/jnml/go/src/pkg/github.com/BurntSushi/xgbutil/xwindow (from $GOROOT)
    /home/jnml/src/github.com/BurntSushi/xgbutil/xwindow (from $GOPATH)
jnml@r630 ~/src/github.com/skelterjohn/go.wde/wdetest $ go version
go version go1.2 linux/amd64
jnml@r630 ~/src/github.com/skelterjohn/go.wde/wdetest $ cd
jnml@r630 ~ $ 
skelterjohn commented 9 years ago

you need to run 'go get' on the package you're running.

so, 'go get github.com/skelterjohn/go.wde/wdetest' instead.