-
Notifications
You must be signed in to change notification settings - Fork 15
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
Unknown CMake command openssl_check_symbol_exists
for USE_ECH
option
#65
Comments
I see you are using MSVC, not mingw-gcc. The build script was only tested in a mingw environment, so there is currently nowhere I can apply your patch, Maybe we should add a msvc version later. |
To build with MSVC, just clone the dependencies (brotli, nghttp2, zlib, zstd) with git and build & install them with CMake. I hate that CMake installs dependencies on |
Hi @afulsamet, How did you compile boringssl with MSVC? I thought it only works with Ninja. |
I actually use Clang (clang-cl) & Ninja to build libcurl and dependencies.
But the below configure & install command also works to build boringssl for MSVC. I just prefer Ninja generator for speed.
you switched your compiler is clang-cl.exe to cl.exe. |
Cool, I will try that later. As for you original issue, I just found the curl 8.8.0 has supported ECH officially, this issue should be resolved automatically once we upgraded to that version. |
@afulsamet Can you share your full build script? Mine always fails when there is an update. I was thinking that maybe the native way of using MSVC is better, and it may solve the incompatiblity with Windows 7. |
I tried build with CMake but got error (Unknown CMake command "openssl_check_symbol_exists".) because of
USE_ECH
option. If I move ECH option snippet to belowopenssl_check_symbol_exists
macro, it fixes.Here it is new patch about ECH option snippet to fix the problem.
CMake configure command
CMake version: cmake version 3.28.0-msvc1
Platform: Windows 10 22H2 - 19045.3693
The text was updated successfully, but these errors were encountered: