mikepb / go-serial

Go binding to libserialport for serial port functionality.
53 stars 28 forks source link

No Buildable go sources files #4

Open joaquinicolas opened 7 years ago

joaquinicolas commented 7 years ago

When i try to cross compile my project from mac os to linux with arm, get this error: no buildable Go source files in... github.com/mikepb/go-serial

IvoBCD commented 5 years ago

@joaquinicolas Since all of the .go files use cgo, you'll need to set CGO_ENABLED=1 to ensure anything gets built when cross-compiling.