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

How to run latest commit with Windows? (branch-heads/64) #83

Open
Zentendo opened this issue Apr 6, 2018 · 2 comments
Open

How to run latest commit with Windows? (branch-heads/64) #83

Zentendo opened this issue Apr 6, 2018 · 2 comments

Comments

@Zentendo
Copy link

Zentendo commented Apr 6, 2018

When I try to go get github.com/keroserene/go-webrtc, I get this error:

go get github.com/keroserene/go-webrtc
# github.com/keroserene/go-webrtc
ctestenums.cc:2:10: fatal error: webrtc/api/peerconnectioninterface.h: No such file or directory
 #include "webrtc/api/peerconnectioninterface.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Same when I try to run demo.go or chat.go

ctestenums.cc:2:10: fatal error: webrtc/api/peerconnectioninterface.h: No such file or directory
 #include "webrtc/api/peerconnectioninterface.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
@uumaro
Copy link
Collaborator

uumaro commented Apr 6, 2018

Building for Windows doesn't work yet. The upgrade to branch-heads/64 was one necessary step, but more work is required.

If you want to try it yourself, you will need to add a compiler flag to look for header files in the include/ directory. (For other platforms, the necessary flags are added by #cgo directives in the source code, or in a .pc file.) But also, there is not yet a precompiled webrtc library for Windows (#57), so you will have to compile one yourself. See build.sh for some guidance, though build.sh does not yet support Windows either.

@arlolra
Copy link
Collaborator

arlolra commented Apr 6, 2018

#include "webrtc/api/peerconnectioninterface.h"

Note that that doesn't look like the latest commit, since the webrtc/ path was removed.

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

No branches or pull requests

3 participants