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

libdatachannel does not compile because of an OpenSSL error with node 17 #65

Closed
paullouisageneau opened this issue Dec 2, 2021 · 1 comment

Comments

@paullouisageneau
Copy link
Contributor

Building with node 17 results in the following compilation error:

~/.cmake-js/node-x64/v17.1.0/include/node/openssl/macros.h:155:4: error: #error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
  155 | #  error "OPENSSL_API_COMPAT expresses an impossible API compatibility level"
      |    ^~~~~

However, setting OPENSSL_API_COMPAT to any valid value (for instance 0x10100000L for version 1.1.0) results in:

~/.cmake-js/node-x64/v17.1.0/include/node/openssl/macros.h:139:4: error: #error "The requested API level higher than the configured API compatibility level"
  139 | #  error "The requested API level higher than the configured API compatibility level"
      |    ^~~~~

This might be an issue with node already reported here: nodejs/node#40575

@murat-dogan
Copy link
Owner

I found a workaround for this issue.
I am releasing v0.3.0 with node v17 support.

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

2 participants