Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/mobile: gomobile init failed #16525

Closed
akzhou opened this issue Jul 28, 2016 · 4 comments
Closed

x/mobile: gomobile init failed #16525

akzhou opened this issue Jul 28, 2016 · 4 comments
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Milestone

Comments

@akzhou
Copy link

akzhou commented Jul 28, 2016

aks-iMac:src ReactNative$ gomobile init
gomobile: go install -p=4 golang.org/x/mobile/gl failed: exit status 2

golang.org/x/mobile/gl

In file included from ../../TestGoMobile/src/golang.org/x/mobile/gl/work.go:24:
./work.h:20:10: fatal error: 'OpenGL/gl3.h' file not found

include <OpenGL/gl3.h>

     ^

1 error generated.

aks-iMac:src ReactNative$ go version
go version go1.6.2 darwin/amd64
aks-iMac:src ReactNative$ go env
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/ReactNative/Desktop/TestGoMobile"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GO15VENDOREXPERIMENT="1"
CC="clang"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common"
CXX="clang++"
CGO_ENABLED="1"

@akzhou akzhou changed the title go mobile init failed gomobile init failed Jul 28, 2016
@bradfitz bradfitz added this to the Unreleased milestone Jul 28, 2016
@bradfitz bradfitz changed the title gomobile init failed x/mobile: gomobile init failed Jul 28, 2016
@rakyll
Copy link
Contributor

rakyll commented Jul 29, 2016

/cc @crawshaw @hyangah

@gopherbot gopherbot added the mobile Android, iOS, and x/mobile label Jul 20, 2017
@JuoCode
Copy link

JuoCode commented Dec 25, 2017

what's the status of this?

@eliasnaur
Copy link
Contributor

Is this still a problem? I can't reproduce the problem and I don't have OpenGL/gl3.h on my system either.

@changkun
Copy link
Member

Since gomobile init seems to work properly, I would close the issue as an outdated status. Feel free to comment out if this is not the case.

@golang golang locked and limited conversation to collaborators Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge mobile Android, iOS, and x/mobile
Projects
None yet
Development

No branches or pull requests

7 participants