alibaba / xquic

XQUIC Library released by Alibaba is a cross-platform implementation of QUIC and HTTP/3 protocol.
Apache License 2.0
1.69k stars 327 forks source link

[Bug]: windows下编译失败 #348

Closed Acwingzjk closed 11 months ago

Acwingzjk commented 11 months ago

What happened?

Windows下对xquic1.2版本进行编译,在按照RM执行到build xquic时 cmake -DSSL_TYPE=boringssl -DSSL_PATH=../third_party/boringssl -DSSL_INC_PATH=../third_party/boringssl/include/openssl -DSSL_LIB_PATH=../third_part/borinssl/build/ssl/Release/ssl.lib -DSSL_LIB_PATH=../third_part/borinssl/build/crypto/Release/crypto.lib .. MSBuild.exe xquic.vcxproj出现错误如下: “D:\Code\xquic-1.2.0-stable\build\ALL_BUILD.vcxproj”(默认目标) (1) -> “D:\Code\xquic-1.2.0-stable\build\xquic.vcxproj”(默认目标) (3) -> (Link 目标) -> ssl.lib(encrypted_client_hello.obj) : error LNK2019: 无法解析的外部符号 impinvalid_parameter,函数 "void cdecl std::_Verify _range(unsigned char const const,unsigned char const const)" (??$_Verify_range@E@std@@YAXQEBE0@Z) 中 引 用了该符号 [D:\Code\xquic-1.2.0-stable\build\xquic.vcxproj] ssl.lib(encrypted_client_hello.obj) : error LNK2019: 无法解析的外部符号 impCrtDbgReport,函数 "void cdecl std::_Verify_rang e(unsigned char const const,unsigned char const const)" (??$_Verify_range@E@std@@YAXQEBE0@Z) 中引用了该符号 [D:\Code\xquic-1.2.0-stable\build\xquic.vcxproj] D:\Code\xquic-1.2.0-stable\build\Debug\xquic.dll : fatal error LNK1120: 2 个无法解析的外部命令 [D:\Code\xquic-1.2.0-stable\buil d\xquic.vcxproj]

17218 个警告
3 个错误

Steps To Reproduce

Information and Steps to reproduce the behavior.

Relevant log output

No response

Acwingzjk commented 11 months ago

目前已找到产生问题的原因,完全解决后将在我的github主页上传。