Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go build err #74

Closed
RustMan88 opened this issue Nov 1, 2019 · 3 comments
Closed

go build err #74

RustMan88 opened this issue Nov 1, 2019 · 3 comments

Comments

@RustMan88
Copy link

go build

github.com/algorand/go-algorand-sdk/logic

../../../../pkg/mod/github.com/algorand/go-algorand-sdk@v0.0.0-20191031155414-fdb5215a96b5/logic/logic.go:45:28: undefined: langSpecJson

how deal this bug ? thanks .

@pzbitskiy
Copy link
Contributor

make build

or

go generate ./logic
go build

I'll update the README.

@RustMan88
Copy link
Author

My program uses go mod to reference algorand SDK,like:
go 1.13

require (
github.com/algorand/go-algorand-sdk v0.0.0-20191031155414-fdb5215a96b5
github.com/algorand/go-codec v1.1.7 // indirect
……
)

go-algorand-sdk download go mod cache dir --
../../../../pkg/mod/github.com/algorand/go-algorand-sdk@v0.0.0-20191031155414-fdb5215a96b5/logic/logic.go:45:28: undefined: langSpecJson

can't use make build for logic ,how compile with go mod for my program?

@pzbitskiy
Copy link
Contributor

@rotemh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants