gio-plugins icon indicating copy to clipboard operation
gio-plugins copied to clipboard

Explorer demo fails to run on Mac

Open gedw99 opened this issue 2 years ago • 1 comments

Running off latest...

cd explorer/demo && go run .

OR

cd explorer/demo && go build . cd explorer/demo && ./demo

github.com/gioui-plugins/gio-plugins/explorer
../explorer_macos.go:56:14: cannot use e.config.View (variable of type uintptr) as _Ctype_CFTypeRef value in variable declaration
../explorer_macos.go:85:14: cannot use e.config.View (variable of type uintptr) as _Ctype_CFTypeRef value in variable declaration
../explorer_macos.go:113:18: cannot use io.ReadCloser in union (io.ReadCloser contains methods)

gedw99 avatar Nov 12 '23 11:11 gedw99

also similar bug with https://github.com/gioui/gio-example/tree/main/explorer

/Users/apple/workspace/go/pkg/mod/gioui.org/[email protected]/explorer/explorer_macos.go:41:28: evt.View undefined (type app.ViewEvent has no field or method View)

gedw99 avatar Mar 22 '24 11:03 gedw99