jmigpin/editor

can't install on Mac OS 10.12

hankji opened this issue · 2 comments

github.com/jmigpin/editor/xgbutil

../../../gopath/src/github.com/jmigpin/editor/xgbutil/shmwrap.go:104: undefined: ShmOpen
../../../gopath/src/github.com/jmigpin/editor/xgbutil/shmwrap.go:117: undefined: ShmClose

exactly same for me..

https://sourcegraph.com/github.com/jmigpin/editor@master/-/blob/xgbutil/shm_linux_amd64.go?utm_source=chrome-extension#L35
i think that a few functiosn need to be overlaoded for darwin.
need a shm_darwin_amd64.go, with correct build tags.

Fixed. Keeping these commits here for reference: 24da1d8 af1ad11 648f76b.