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

unknown field 'buffer' #5

Open
notnot opened this issue May 8, 2017 · 1 comment
Open

unknown field 'buffer' #5

notnot opened this issue May 8, 2017 · 1 comment

Comments

@notnot
Copy link

notnot commented May 8, 2017

With the new OpenCL cl.h file there is a change where an anonymous enum is giving troubles:

github.com/go-gl/cl/v1.2/cl

../../../../go/extern/src/github.com/go-gl/cl/v1.2/cl/package.go:726: unknown field 'buffer' in struct literal of type C.struct__cl_image_desc

I don't know how to properly solve this other than (temporarily) using the v1.2 cl.h header. Maybe there is a way to let cgo handle that enum?

@notnot
Copy link
Author

notnot commented May 8, 2017

It is the OpenCL 2.0 cl.h that causes this, i forgot to mention...

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