Compile fails with "gl" tag: undefined: pih
justinfx opened this issue · comments
Justin Israel commented
I was trying to build some of the examples on an Ubuntu linux distro, using -tags gl
, and the compile failed with missing references:
# github.com/gen2brain/iup-go/iup
../iup/bind_gl.go:38:21: undefined: pih
../iup/bind_gl.go:45:30: undefined: pih
../iup/bind_gl.go:52:21: undefined: pih
../iup/bind_gl.go:59:17: undefined: pih
../iup/bind_gl.go:67:17: undefined: pih
../iup/bind_gl.go:83:33: undefined: pih
Are these refs supposed to be C.pih
?
https://github.com/gen2brain/iup-go/blob/iup/v3.30.3/iup/bind_gl.go#L38
Milan Nikolic commented
That function is removed, it should be fixed in 9bc1f88
Milan Nikolic commented
Btw. only glcanvas
example makes sense compiling with gl
tag.
Justin Israel commented
Yep, I didn't think I needed the gl
tag in most cases. Was just letting you know it was broken :-) Thanks for fixing it.
Milan Nikolic commented
I added all build test cases in Github actions. At least it will catch such regressions in the future. Thanks!