huhuoyun / freetype-go

Automatically exported from code.google.com/p/freetype-go
Other
1 stars 0 forks source link

Neither release go or weekly go will compile/install... #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
From a Go synced/built from "release" branch:

$ goinstall freetype-go.googlecode.com/hg/freetype
/bin/bash: === cd 
/home/shutej/go/src/pkg/freetype-go.googlecode.com/hg/freetype/raster; bash 
gomake -f- install
6g  -o _go_.6 geom.go paint.go raster.go stroke.go 
paint.go:65: cannot convert c (type image.AlphaColor) to type int
paint.go:66: cannot use uint8((v * 255 + (255 - v) * a) / 255) (type uint8) as 
type image.AlphaColor in assignment
paint.go:105: cannot use color (type uint8) as type image.AlphaColor in 
assignment
paint.go:150: cannot convert r.Image.Pix[i + 0] (type image.RGBAColor) to type 
uint32
paint.go:151: cannot convert r.Image.Pix[i + 1] (type image.RGBAColor) to type 
uint32
paint.go:152: cannot convert r.Image.Pix[i + 2] (type image.RGBAColor) to type 
uint32
paint.go:153: cannot convert r.Image.Pix[i + 3] (type image.RGBAColor) to type 
uint32
paint.go:155: cannot use uint8((dr * a + r.cr * ma) / m >> 8) (type uint8) as 
type image.RGBAColor in assignment
paint.go:156: cannot use uint8((dg * a + r.cg * ma) / m >> 8) (type uint8) as 
type image.RGBAColor in assignment
paint.go:157: cannot use uint8((db * a + r.cb * ma) / m >> 8) (type uint8) as 
type image.RGBAColor in assignment
paint.go:157: too many errors
make: *** [_go_.6] Error 1
--- exit status 2
goinstall: installing: running bash: exit status 2

Original issue reported on code.google.com by shu...@google.com on 14 Jul 2011 at 3:44

GoogleCodeExporter commented 9 years ago
I think that this issue is resolved with Go1.  go get works fine.

Original comment by burns.ethan@gmail.com on 19 Apr 2012 at 11:12

GoogleCodeExporter commented 9 years ago
I think that this bug report is obsolete.

Sorry for the late response, but I had a typo in my mail setup and wasn't 
getting freetype-go bug mail.

Original comment by nigel...@golang.org on 2 Aug 2012 at 1:34