toxeus / go-secp256k1

Go wrapper for secp256k1
MIT License
34 stars 12 forks source link

clang error #5

Closed coyle closed 6 years ago

coyle commented 6 years ago

Thanks for creating this wrapper! I'm sure this has to do with my lack of understanding in C but when ever I attempt to build my package I receive the following error:

go build server/cmd/main.go                                                                                                                                                                                                          13:08
# github.com/btccom/secp256k1-go/secp256k1
clang: error: no such file or directory: '$GOPATH/src/github.com/btccom/secp256k1-go/secp256k1/c-secp256k1/.libs/libsecp256k1.a'

I have followed both the install steps and update steps but seeing the same issue.

Are there any other dependencies or steps I should complete?

coyle commented 6 years ago

To quick to file an issue. I realized goimports pulled in a different project than I had anticipated. fixing that allowed everything to work!