ajstarks/openvg

[Suggestion] Changing CGO flags on Raspbian Stretch

Closed this issue · 1 comments

In order to use the go library in Raspbian Stretch, you must change line 6 of openvg.go
#cgo LDFLAGS: -L/opt/vc/lib -lGLESv2 -lEGL -lbcm_host -ljpeg
to
#cgo LDFLAGS: -L/opt/vc/lib -lbrcmGLESv2 -lbrcmEGL -lbcm_host -ljpeg

just like in the makefile from Issue#62

I don't know if something should be noted in the README.md or have a commented line in each file that a stretch user can uncomment so all goes smoothly.

Keep up the great work guys

Done with revision 5980ac1