sudo apt-get install libjpeg8-dev git
git clone git://github.com/capnm/go_rpi.git
cd go_rpi
export GOPATH=$(pwd)
Run bin/circle
in the linux console (ctrl+alt+F1) or the (ssh) terminal.
You can rebuild the binary with go install -v circle
.
Run bin/clock
.
Rebuild it with go install -v clock
- OpenVG doesn't work with Go 1.0.3 release (no cgo support).
git clone -b gitfix git://github.com/capnm/golang.git
cd golang
# Nuke all garbage.
git gc --prune
git clean -fd
cd src
./make.bash or ./all.bash
- The Go OpenVG parts have been extracted from ajstarks repo.