You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This needs merging. The BORINGSSL env var is a bad way to provide the locations of boringssl since the include dir remains with the source and the libraries are in different paths. Providing them seperately like this is a far better way IMO. Also adding the CXX to the project type and adding stdc++ on line 272 of CMakeLists.txt SET(LIBS lsquic ${BORINGSSL_LIB_ssl} ${BORINGSSL_LIB_crypto} ${ZLIB_LIB} ${LIBS} stdc++) got rid of the errors when linking to boringssl.
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: