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
When building the LSQUIC project, users encountered linking errors related to C++ symbols from BoringSSL. The main issues were:
The solution involved several steps to properly integrate BoringSSL with LSQUIC:
Modified the CMakeLists.txt to include C++ support:
PROJECT(lsquic C)
PROJECT(lsquic C CXX)
Added the C++ standard library to the linker flags:
-lstdc++
Ensured correct paths to BoringSSL were provided to CMake:
cmake -DBORINGSSL_DIR=/path/to/boringssl \ -DBORINGSSL_INCLUDE=/path/to/boringssl/include \ -DBORINGSSL_LIB_ssl=/path/to/boringssl/build/ssl/libssl.a \ -DBORINGSSL_LIB_crypto=/path/toboringssl/build/crypto/libcrypto.a \ ..
If necessary, rebuilt BoringSSL with compatible compiler settings:
cd /path/to/boringssl rm -rf build mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release .. make
cd /path/to/lsquic/build rm -rf *
cmake -DBORINGSSL_DIR=/path/to/boringssl \ -DBORINGSSL_INCLUDE=/path/to/boringssl/include \ -DBORINGSSL_LIB_ssl=/path/to/boringssl/build/ssl/libssl.a \ -DBORINGSSL_LIB_crypto=/path/to/boringssl/build/crypto/libcrypto.a \ ..
make
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
When building the LSQUIC project, users encountered linking errors related to C++ symbols from BoringSSL. The main issues were:
Solution
The solution involved several steps to properly integrate BoringSSL with LSQUIC:
Modified the CMakeLists.txt to include C++ support:
PROJECT(lsquic C)
toPROJECT(lsquic C CXX)
Added the C++ standard library to the linker flags:
-lstdc++
Ensured correct paths to BoringSSL were provided to CMake:
If necessary, rebuilt BoringSSL with compatible compiler settings:
Steps to Build LSQUIC
The text was updated successfully, but these errors were encountered: