-
-
Notifications
You must be signed in to change notification settings - Fork 64
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
Trouble building with NO_WEBSOCKET and NO_MEDIA options #341
Comments
Thanks for reporting. I have pushed a PR for this. |
Thank you for the PR. Over here, builds were still failing if we set either NO_MEDIA or NO_WEBSOCKET - with member-not-found errors that went away once we patched the following files
with conditionals that excluded all content in the absence of the appropriate flags. For example, for web-socket-wrapper.cpp:
That said, our builds aren't quite happy yet: at the end we're seeing |
Fixing that last part
...was apparently just a matter of running |
Hello, Is there any problem for you? |
Yes - simply pulling your
leads to errors. For example, on MacOS setting NO_WEBSOCKET to ON gives the output seen here Adding the We checked on Windows, in case it was something specific to our MacOS build configuration, but ran into the same issue. |
We have a use case in which we only need the data-channel features (no media, no websockets). We are therefore trying to build with both these CMakeLists options set to
ON
:libdatachannel
's build process responds as one might expect, by suppressing the unwanted components. But the lack of those components causes the node-datachannel build to fail. For example, with justNO_WEBSOCKET
set toON
, the first error isIs there something else we need to tweak?
The text was updated successfully, but these errors were encountered: