ericroy / go-htmlayout

HTMLayout bindings for Golang
27 stars 3 forks source link

build error in windows 7 32bit sp1 #1

Open lunny opened 11 years ago

lunny commented 11 years ago

I have executed "python get_htmlayout.py" successfully. And then I executed go get command. But build failed.

c:\gopath\src\github.com\ericroy\go-htmlayout>go get github.com/ericroy/go-htmla
yout
# github.com/ericroy/go-htmlayout
element.go:310: constant -2147483649 overflows uint32
htmlayout.go:723: constant -2147483649 overflows uint32
ericroy commented 11 years ago

Still working on this - some linker errors with the latest version of go...

ericroy commented 11 years ago

It builds under go1.1 now, but attempting to use the package results in this kind of thing:

$ go test testmain C:\Users\Eric\AppData\Local\Temp\go-build063170731\c\Users\Eric\code\go-htmlayouttest//c_/Users/Eric/code/go-htmlayout.a(all.o): malformed pe file: unexp ected flags 0xe0300020 for PE section . FAIL /c_/Users/Eric/code/go-htmlayout [build failed]

I'm afraid this might be related: https://code.google.com/p/go/issues/detail?id=5106