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

Unable to build on Windows10 #109

Closed
fooock opened this issue Jul 13, 2018 · 3 comments
Closed

Unable to build on Windows10 #109

fooock opened this issue Jul 13, 2018 · 3 comments

Comments

@fooock
Copy link

fooock commented Jul 13, 2018

Due to this error I'm unable to build the project and test it using Windows10. Maybe is a good idea indicate it on readme?

Result of execute command vgo mod -vendor:

Javi@FOOOCK D:\Projects\go\src\github.com\perlin-network\noise (master)
> vgo generate ./...
go: extracting github.com/xtaci/kcp-go v0.0.0-20180203133237-42bc1dfefff5
-> unzip D:\Projects\go\src\mod\cache\download\github.com\xtaci\kcp-go\@v\v0.0.0-20180203133237-42bc1dfefff5.zip: invalid file name github.com/xtaci/kcp-go@v0.0.0-20180203133237-42bc1dfefff5/.gitignore
go: extracting github.com/pkg/errors v0.8.0
-> unzip D:\Projects\go\src\mod\cache\download\github.com\pkg\errors\@v\v0.8.0.zip: invalid file name github.com/pkg/errors@v0.8.0/.gitignore
go: extracting github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
-> unzip D:\Projects\go\src\mod\cache\download\github.com\golang\glog\@v\v0.0.0-20160126235308-23def4e6c14b.zip: invalid file name github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/LICENSE
go: extracting github.com/gogo/protobuf v1.0.0
-> unzip D:\Projects\go\src\mod\cache\download\github.com\gogo\protobuf\@v\v1.0.0.zip: invalid file name github.com/gogo/protobuf@v1.0.0/.gitignore
go: extracting golang.org/x/crypto v0.0.0-20180621125126-a49355c7e3f8
-> unzip D:\Projects\go\src\mod\cache\download\golang.org\x\crypto\@v\v0.0.0-20180621125126-a49355c7e3f8.zip: invalid file name golang.org/x/crypto@v0.0.0-20180621125126-a49355c7e3f8/.gitattributes
go: extracting github.com/xtaci/smux v1.0.7
-> unzip D:\Projects\go\src\mod\cache\download\github.com\xtaci\smux\@v\v1.0.7.zip: invalid file name github.com/xtaci/smux@v1.0.7/.gitignore
go: extracting github.com/fd/go-nat v1.0.0
-> unzip D:\Projects\go\src\mod\cache\download\github.com\fd\go-nat\@v\v1.0.0.zip: invalid file name github.com/fd/go-nat@v1.0.0/LICENSE
go: import "github.com/perlin-network/noise/crypto/hashing/blake2b" ->
        import "golang.org/x/crypto/blake2b": unzip D:\Projects\go\src\mod\cache\download\golang.org\x\crypto\@v\v0.0.0-20180621125126-a49355c7e3f8.zip: invalid file name golang.org/x/crypto@v0.0.0-20180621125126-a49355c7e3f8/.gitattributes
go: import "github.com/perlin-network/noise/crypto/signing/ed25519" ->
        import "golang.org/x/crypto/ed25519": unzip D:\Projects\go\src\mod\cache\download\golang.org\x\crypto\@v\v0.0.0-20180621125126-a49355c7e3f8.zip: invalid file name golang.org/x/crypto@v0.0.0-20180621125126-a49355c7e3f8/.gitattributes
go: import "github.com/perlin-network/noise/examples/basic/messages" ->
        import "github.com/gogo/protobuf/gogoproto": unzip D:\Projects\go\src\mod\cache\download\github.com\gogo\protobuf\@v\v1.0.0.zip: invalid file name github.com/gogo/protobuf@v1.0.0/.gitignore
go: import "github.com/perlin-network/noise/examples/basic/messages" ->
        import "github.com/gogo/protobuf/proto": unzip D:\Projects\go\src\mod\cache\download\github.com\gogo\protobuf\@v\v1.0.0.zip: invalid file name github.com/gogo/protobuf@v1.0.0/.gitignore
go: import "github.com/perlin-network/noise/examples/chat" ->
        import "github.com/golang/glog": unzip D:\Projects\go\src\mod\cache\download\github.com\golang\glog\@v\v0.0.0-20160126235308-23def4e6c14b.zip: invalid file name github.com/golang/glog@v0.0.0-20160126235308-23def4e6c14b/LICENSE
go: import "github.com/perlin-network/noise/examples/stream" ->
        import "github.com/xtaci/smux": unzip D:\Projects\go\src\mod\cache\download\github.com\xtaci\smux\@v\v1.0.7.zip: invalid file name github.com/xtaci/smux@v1.0.7/.gitignore
go: import "github.com/perlin-network/noise/network" ->
        import "github.com/gogo/protobuf/types": unzip D:\Projects\go\src\mod\cache\download\github.com\gogo\protobuf\@v\v1.0.0.zip: invalid file name github.com/gogo/protobuf@v1.0.0/.gitignore
go: import "github.com/perlin-network/noise/network" ->
        import "github.com/pkg/errors": unzip D:\Projects\go\src\mod\cache\download\github.com\pkg\errors\@v\v0.8.0.zip: invalid file name github.com/pkg/errors@v0.8.0/.gitignore
go: import "github.com/perlin-network/noise/network" ->
        import "github.com/xtaci/kcp-go": unzip D:\Projects\go\src\mod\cache\download\github.com\xtaci\kcp-go\@v\v0.0.0-20180203133237-42bc1dfefff5.zip: invalid file name github.com/xtaci/kcp-go@v0.0.0-20180203133237-42bc1dfefff5/.gitignore
go: import "github.com/perlin-network/noise/network/nat" ->
        import "github.com/fd/go-nat": unzip D:\Projects\go\src\mod\cache\download\github.com\fd\go-nat\@v\v1.0.0.zip: invalid file name github.com/fd/go-nat@v1.0.0/LICENSE
@fooock
Copy link
Author

fooock commented Jul 13, 2018

Suggested by damoon, to download all project dependencies:

go get -v -u -d github.com\perlin-network\noise\...

And to run the examples:

go run examples/chat/main.go -port 3000

@faddat
Copy link

faddat commented Jul 13, 2018

@fooock Did that resolve the problem?

@fooock
Copy link
Author

fooock commented Jul 13, 2018

Yes, I was able to run the example

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

3 participants