You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to get this Go library building on my Raspberry Pi, but I keep getting this error
pi@raspberrypi:~/gocairo $ make [60/1945]go install github.com/martine/gocairo/cairo
# github.com/martine/gocairo/cairo
../go/src/github.com/martine/gocairo/cairo/path.go:43:13: type [1073741824]PathPoint larger than address space
../go/src/github.com/martine/gocairo/cairo/path.go:43:13: type [1073741824]PathPoint too large
../go/src/github.com/martine/gocairo/cairo/cairo.go:110:17: type [1073741824]_Ctype_cairo_path_data_t larger than address space
../go/src/github.com/martine/gocairo/cairo/cairo.go:110:17: type [1073741824]_Ctype_cairo_path_data_t too large
../go/src/github.com/martine/gocairo/cairo/cairo.go:3654:13: type [1073741824]_Ctype_cairo_svg_version_t larger than address space
../go/src/github.com/martine/gocairo/cairo/cairo.go:3654:13: type [1073741824]_Ctype_cairo_svg_version_t too large
Which I'm not exactly sure how to solve and would appreciate any pointers that people might have? I suspect it is due to the 32-bit architecture of the Raspbian distro, but am not totally sure.
Running uname on the Raspberry Pi reports the following:
This is setting up the destination pointer for a copy operation, so it just wanted a "very big" array.
I think you can reduce this to 1 << 20 and everything will work. (Do this in all the places the above error messages are complaining.)
Hi there,
I'd like to get this Go library building on my Raspberry Pi, but I keep getting this error
Which I'm not exactly sure how to solve and would appreciate any pointers that people might have? I suspect it is due to the 32-bit architecture of the Raspbian distro, but am not totally sure.
Running uname on the Raspberry Pi reports the following:
The text was updated successfully, but these errors were encountered: