@continue

Настройка рабочей области?

Доброго времени суток! Не могу никак настроить рабочию область в ArchLinux.
form.go:6:24: ошибка: import file «github.com/google/gxui» not found
  "github.com/google/gxui"
                        ^
form.go:7:35: ошибка: import file «github.com/google/gxui/drivers/gl» not found
  "github.com/google/gxui/drivers/gl"
                                   ^
form.go:8:36: ошибка: import file «github.com/google/gxui/themes/dark» not found
  "github.com/google/gxui/themes/dark"
                                    ^
form.go:11:25: ошибка: expected package
 func appMain(driver gxui.Driver) {
                         ^
form.go:19:32: ошибка: expected package
  yesButton.OnClick(func(ev gxui.MouseEvent) {
                                ^
form.go:24:31: ошибка: expected package
  noButton.OnClick(func(ev gxui.MouseEvent) {
                               ^
form.go:12:11: ошибка: reference to undefined name «dark»
  theme := dark.CreateTheme(driver)
           ^
form.go:34:27: ошибка: reference to undefined name «gxui»
  btnLayout.SetOrientation(gxui.Horizontal)
                           ^
form.go:37:32: ошибка: reference to undefined name «gxui»
  layout.SetHorizontalAlignment(gxui.AlignCenter)
                                ^
form.go:38:30: ошибка: reference to undefined name «gxui»
  layout.SetVerticalAlignment(gxui.AlignMiddle)
                              ^
form.go:44:2: ошибка: reference to undefined name «gxui»
  gxui.EventLoop(driver)
  ^
form.go:48:2: ошибка: reference to undefined name «gl»
  gl.StartDriver("", appMain)
  ^

Получение библиотек:
go get -u github.com/google/gxui
go get -u github.com/google/gxui/drivers/gl
go get -u github.com/google/gxui/themes/dark

Выхлоп go env:
[continue@LenovoG780 user]$ go env
GOARCH="amd64"
GOBIN=""
GOCHAR="6"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/continue/go"
GORACE=""
GOROOT="/usr"
GOTOOLDIR="/usr/lib/gcc/x86_64-unknown-linux-gnu/5.3.0"
CC="/usr/bin/gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="/usr/bin/g++"
CGO_ENABLED="1"


Компиляция:
gccgo form.go -fuse-ld=gold -o form
В чем может быть проблема?
Заранее спасибо.
  • Вопрос задан
  • 388 просмотров
Пригласить эксперта
Ответы на вопрос 1
@continue Автор вопроса
Актуально.
Ответ написан
Комментировать
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы