cl icon indicating copy to clipboard operation
cl copied to clipboard

unknown field 'buffer'

Open notnot opened this issue 7 years ago • 1 comments

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 avatar May 08 '17 12:05 notnot

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

notnot avatar May 08 '17 12:05 notnot