We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Added openssl as the dependency, but including <openssl/bn.h> fails with
external/openssl+/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory 14 | #include <openssl/opensslconf.h> | ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated.
Development (host) and target OS/architectures:
Output of bazel --version: bazel 8.0.0
bazel --version
Version of relevant rules from the WORKSPACE or MODULE.bazel file: bazel_dep(name = "openssl", version = "3.3.1.bcr.0")
WORKSPACE
MODULE.bazel
Language(s) and/or frameworks involved: c++
bazel_dep(name = "openssl", version = "3.3.1.bcr.0")
#include <openssl/bn.h>
run bazel build test
bazel build test
boringssl works:
cc_library( name = "test", srcs = ["test.cpp"], deps = ["@boringssl//:ssl"], )
openssl doesn't:
cc_library( name = "test", srcs = ["test.cpp"], deps = ["@openssl//:ssl"], )
No response
The text was updated successfully, but these errors were encountered:
@illicitonion
Sorry, something went wrong.
Thanks for flagging this - it was fixed in raccoons-build/bazel-openssl-cc@878a12f and released in #3400
No branches or pull requests
What happened?
Added openssl as the dependency, but including <openssl/bn.h> fails with
external/openssl+/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory
14 | #include <openssl/opensslconf.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Version
Development (host) and target OS/architectures:
Output of
bazel --version
:bazel 8.0.0
Version of relevant rules from the
WORKSPACE
orMODULE.bazel
file:bazel_dep(name = "openssl", version = "3.3.1.bcr.0")
Language(s) and/or frameworks involved:
c++
How to reproduce
MODULE.bazel
bazel_dep(name = "openssl", version = "3.3.1.bcr.0")
test.cpp
#include <openssl/bn.h>
run
bazel build test
boringssl works:
openssl doesn't:
external/openssl+/include/openssl/macros.h:14:10: fatal error: openssl/opensslconf.h: No such file or directory
14 | #include <openssl/opensslconf.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Any other information?
No response
The text was updated successfully, but these errors were encountered: