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

Build issues Arch #169

Open
dcbishop opened this issue Nov 5, 2014 · 0 comments
Open

Build issues Arch #169

dcbishop opened this issue Nov 5, 2014 · 0 comments

Comments

@dcbishop
Copy link

dcbishop commented Nov 5, 2014

# github.com/go-gl/gl
In file included from $WORK/github.com/go-gl/gl/_obj/_cgo_export.c:2:0:
./debugoutput.go: In function ‘glDebugMessageCB’:
./debugoutput.go:26:28: warning: passing argument 1 of ‘__glewDebugMessageCallbackARB’ from incompatible pointer type
 // glDebugMessageCallbackARB(debugProcCB, NULL);
                            ^
./debugoutput.go:26:28: note: expected ‘GLDEBUGPROCARB’ but argument is of type ‘void (*)(GLenum,  GLenum,  GLuint,  GLenum,  GLsizei,  const GLchar *, void *)’
# github.com/go-gl/gl
./debugoutput.go: In function ‘glDebugMessageCB’:
./debugoutput.go:26:28: warning: passing argument 1 of ‘__glewDebugMessageCallbackARB’ from incompatible pointer type
 // glDebugMessageCallbackARB(debugProcCB, NULL);
                            ^
./debugoutput.go:26:28: note: expected ‘GLDEBUGPROCARB’ but argument is of type ‘void (*)(GLenum,  GLenum,  GLuint,  GLenum,  GLsizei,  const GLchar *, void *)’
# github.com/go-gl/gl
./gl_arb_sparse_texture.go:35: too many arguments in call to _Cfunc_glTexturePageCommitmentEXT
go build  6.98s user 0.90s system 75% cpu 10.460 total

glew-1.11.0-1

I also tried the glew-1.10 branch of go-gl without success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant