BurntSushi / xgbutil

A utility library to make use of the X Go Binding easier. (Implements EWMH and ICCCM specs, key binding support, etc.)
Do What The F*ck You Want To Public License
194 stars 46 forks source link

example window-gradient fails #10

Closed scriptandcompile closed 12 years ago

scriptandcompile commented 12 years ago

example window-gradient fails

The example window-graient fails with a large number of xgraphics issues.

Errors

../../xgraphics/image.go:32: imported and not used: "code.google.com/p/graphics-go/graphics" ../../xgraphics/text.go:10: emptyarchive redeclared as imported package name previous declaration at ../../xgraphics/text.go:9 ../../xgraphics/text.go:10: imported and not used: "code.google.com/p/freetype-go/freetype/truetype" ../../xgraphics/text.go:24: undefined: truetype ../../xgraphics/text.go:54: undefined: truetype ../../xgraphics/text.go:63: undefined: freetype ../../xgraphics/text.go:63: undefined: truetype ../../xgraphics/text.go:73: undefined: truetype ../../xgraphics/text.go:88: undefined: truetype ../../xgraphics/util.go:10: imported and not used: "code.google.com/p/graphics-go/graphics" ../../xgraphics/text.go:88: too many errors

These same errors appear any time you attempt to load xgraphics.

scriptandcompile commented 12 years ago

forgot to go get

code.google.com/p/graphics-go/graphics code.google.com/p/freetype-go/freetype/truetype code.google.com/p/freetype-go/freetype

never mind.

BurntSushi commented 12 years ago

Love it when bugs fix themselves.

scriptandcompile commented 12 years ago

Bug resided in the user, so only the user can fix that bug.

I'm building a quick plotting library using your stuff.

Thank you so dang much for building xgbutil and xgb. It's lovely.