google / gousb

gousb provides low-level interface for accessing USB devices
Apache License 2.0
838 stars 124 forks source link

Build error Windows #66

Closed Doskulov closed 5 years ago

Doskulov commented 5 years ago

Hello, when building to windows executable file, returns error. When not using gousb library, works fine. CGO_ENABLED=1 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ GOOS=windows GOARCH=amd64 go build -o index.exe

Error Type github.com/google/gousb collect2: error: ld returned 1 exit status

zagrodzki commented 5 years ago

I don't think we can help with this problem. Our windows build seems to be running fine - see https://ci.appveyor.com/project/zagrodzki/gousb/history