Following the instructions for Mac/Linux, I get warnings/errors after running go get on Mac OSX 10.9.4, which seem relatively harmless, but I have been unable to compile some go OpenGL examples without panics. I'm curious if this error is at the root of some of this - thanks for taking a look.
➜ ~GOPATH go get github.com/go-gl/gl
# github.com/go-gl/gl
In file included from $WORK/github.com/go-gl/gl/_obj/_cgo_export.c:2:
src/github.com/go-gl/gl/debugoutput.go:26:28: warning: incompatible pointer types passing 'void (GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, void *)' to parameter of type 'GLDEBUGPROCARB' (aka 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *)') [-Wincompatible-pointer-types]
# github.com/go-gl/gl
src/github.com/go-gl/gl/debugoutput.go:26:28: warning: incompatible pointer types passing 'void (GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, void *)' to parameter of type 'GLDEBUGPROCARB' (aka 'void (*)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar *, const void *)') [-Wincompatible-pointer-types]
Following the instructions for Mac/Linux, I get warnings/errors after running
go get
on Mac OSX 10.9.4, which seem relatively harmless, but I have been unable to compile some go OpenGL examples without panics. I'm curious if this error is at the root of some of this - thanks for taking a look.If it helps any, when I run
pkg-config
I getBut running with CGO_FLAGS and then
go install
doesn't appear to actually do anything