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

Open
akzhou opened this Issue Jul 28, 2016 · 3 comments

Comments

Projects
None yet
6 participants
@akzhou

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 from go mobile init failed to gomobile init failed Jul 28, 2016

@bradfitz bradfitz added this to the Unreleased milestone Jul 28, 2016

@bradfitz bradfitz changed the title from gomobile init failed to x/mobile: gomobile init failed Jul 28, 2016

@rakyll

This comment has been minimized.

Member

rakyll commented Jul 29, 2016

@gopherbot gopherbot added the mobile label Jul 20, 2017

@JuoCode

This comment has been minimized.

JuoCode commented Dec 25, 2017

what's the status of this?

@eliasnaur

This comment has been minimized.

Contributor

eliasnaur commented Mar 16, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment