Skip to content

Build issues Arch #169

@dcbishop

Description

@dcbishop
# 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions