-
Notifications
You must be signed in to change notification settings - Fork 76
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
[BSD] ctestenums.cc:2:48: fatal error: webrtc/api/peerconnectioninterface.h: No such file or directory #76
Comments
Note that this is an attempt to build on BSD ( The immediate cause is that the build is missing the That's because the You could try making a new file webrtc-dragonfly-amd64.pc containing the necessary flags. ( But then there will still be a problem, because there's no precompiled library for BSD in the lib directory. go-webrtc is an interface to a massive underlying C++ library. So the build will fail at the linking stage. Until we have a prebuilt library for BSD, you will have to compile the webrtc library yourself, and unfortunately it's a little involved. See build.sh and the "hard way" of README#Building. I don't know if anyone has tried building the library on BSD yet. |
@uumaro Thanks for your response. I can try build go-webrtc in BSD but it seems that are many dependencies and things that may go wrong. |
It's not the Go part of go-webrtc that's difficult to build. It's the WebRTC native code library that's big. (It's not really difficult to build, just huge (source code is ~9 GB).) You can try making some minor modifications to build.sh and see if it works, but I suspect you would be the first one to try it. Unfortunately, https://webrtc.org/native-code/development/ says "The currently supported platforms are Windows, Mac OS X, Linux, Android and iOS." It may work on BSD anyway; for example we are cross-compiling linux→mac for Tor Browser, which isn't a supported configuration. But it took some patches to make it work. |
@uumaro great thanks for the guidelines. |
Why I'm here:
go-webrtc
is a snowflake dependencygo get github.com/keroserene/go-webrtc
results in% go env
Happy to provide any required details in order to help resolve this issue.
The text was updated successfully, but these errors were encountered: