simplelib
simplelib copied to clipboard
go get failed under ubuntu .
hi, all
following the ReadMe guide , I run go get command , but failed:
go get github.com/zacg/simplelib
can't build package github.com/zacg/simplelib because it contains C++ files (simpleclass.cpp) but it's not using cgo nor SWIG
my env:
go version
go version go1.7.1 linux/amd64
any suggestions?
thanks.
Any insight into this? I'm just now hitting the same thing.
It looks like you can get around the issue by inserting: import "C"
to trigger CGO
.