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

Install instructions? #173

Closed
ChillerDragon opened this issue Apr 22, 2020 · 4 comments
Closed

Install instructions? #173

ChillerDragon opened this issue Apr 22, 2020 · 4 comments

Comments

@ChillerDragon
Copy link

ChillerDragon commented Apr 22, 2020

Got this error when trying to build another project:

package github.com/pions/webrtc/pkg/ice: cannot find package "github.com/pions/webrtc/pkg/ice" in any of:
        /usr/local/go/src/github.com/pions/webrtc/pkg/ice (from $GOROOT)
        /home/chiller/go/src/github.com/pions/webrtc/pkg/ice (from $GOPATH)

So I assumed it can be installed like:

$ go get github.com/pion/ice
# github.com/pion/dtls
src/github.com/pion/dtls/prf.go:72:10: undefined: curve25519.X25519
$ go version
go version go1.13 linux/amd64
@Sean-Der
Copy link
Member

Hey @ChillerDragon

You probably want github.com/pion/webrtc/v2, we added a new major version when we changed names from pions -> pion

@ChillerDragon
Copy link
Author

ChillerDragon commented Apr 22, 2020

@Sean-Der thanks for the fast reply how do I install github.com/pion/webrtc/v2?

sorry if this question is weird but I have no clue how go works

$ go get github.com/pion/webrtc/v2
package github.com/pion/webrtc/v2: cannot find package "github.com/pion/webrtc/v2" in any of:
        /usr/local/go/src/github.com/pion/webrtc/v2 (from $GOROOT)
        /home/chiller/go/src/github.com/pion/webrtc/v2 (from $GOPATH)

EDIT:

ah ye I guess thats

GO111MODULE=on go get github.com/pion/webrtc/v2
git clone https://github.com/pion/webrtc.git $GOPATH/src/github.com/pion/webrtc

yea I can not reproduce my initial error so I guess im fine.

@Sean-Der
Copy link
Member

Sean-Der commented Apr 22, 2020

Glad to hear it worked @ChillerDragon

If you are up for it, would you mind updating the docs that you were following? I am sure lots of people are hitting this issue, and just don't file issues :(

thanks for using Pion!

@ChillerDragon
Copy link
Author

I sadly do not have any findings yet I just followed your awesome list to find something working because I could not understand the webrtc example :D I smashed In a bunch of go commands into my terminal until different things started to break. I was not too successful yet but we will see... looks like a nice project for sure!

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

No branches or pull requests

2 participants