You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When building ink from source there are a number of errors related to the CLI library. Is there a specific version I need to be building against?
I have already begun patching these errors, but many seem to lie with the CLI library so I wanted to check here before branching.
Error:
aht ~/code/go/src/github.com/inkproject/ink >go build
# github.com/inkproject/ink
./main.go:52:5: app.Author undefined (type *cli.App has no field or method Author)
./main.go:53:5: app.Email undefined (type *cli.App has no field or method Email)
./main.go:108:17: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:112:17: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:116:17: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:120:17: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:124:17: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in array or slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:129:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:133:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:137:19: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in array or slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
./main.go:137:19: too many errors
To Reproduce
Steps to reproduce the behavior:
Be running go 1.13.3
Collect source code with go get github.com/InkProject/ink
If go does not attempt compilation upon download, cd to the source code and run go build.
See error
Expected behavior
This should build the source code and result in a binary executable.
Desktop (please complete the following information):
OS: Ubuntu 18.04
The text was updated successfully, but these errors were encountered:
Describe the bug
When building ink from source there are a number of errors related to the CLI library. Is there a specific version I need to be building against?
I have already begun patching these errors, but many seem to lie with the CLI library so I wanted to check here before branching.
Error:
To Reproduce
Steps to reproduce the behavior:
go get github.com/InkProject/ink
cd
to the source code and rungo build
.Expected behavior
This should build the source code and result in a binary executable.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: