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
[Bug]:xquic在windows下编译有错误 #168
Comments
指定下加密库头文件和路径试下 |
1 similar comment
指定下加密库头文件和路径试下 |
是cmake -DSSL_TYPE=${SSL_TYPE_STR} -DSSL_PATH=${SSL_PATH_STR} -DSSL_INC_PATH=${SSL_INC_PATH_STR} -DSSL_LIB_PATH=${SSL_LIB_PATH_STR} .. Update the VERSION argument value or use a ... suffix to tell -- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.15063. |
Dear 您好,邮件我已收到 !BestwishThink's张渊博
|
What happened?
按照最新版本的xquic中的platforms中在win10 64位上编译xquic,一直都报错,无法解决
Steps To Reproduce
windows环境:
Win10 64位系统
软件版本:
Go:1.18.1
Cmake:3.23.1
Nasm:2.15
Visual studio:2017
因为环境不联网,没有办法下载安装vcpkg,从而libevent是自己离线安装的
编译步骤:
(1) 编译boringssl
当前下载的是4.23号的master分支代码,使用的是vs2017下的命令行提示符
如果按照platforms下的命令运行,
cmake -DCMAKE_GENERATOR_PLATFORM=x64 --config Debug -DBUILD_SHARED_LIBS=0 -DCMAKE_C_FLAGS="-fPIC" -DCMAKE_CXX_FLAGS="-fPIC" ..
会报错,cmake error:unknown argument --config:
将config命令去掉,成功不报错
设置
set GO111MODULE=off
运行MSBuild.exe ALL_BUILD.vcxproj,生成lib
(2) 编译xquic
运行命令:
cmake -DSSL_TYPE=boringssl -DCMAKE_BUILD_TYPE=Debug -G "Visual Studio 15 2017 Win64" ..
不报错
继续运行:
MSBuild.exe ALL_BUILD.vcxproj
会报一堆无法解析的错误
Relevant log output
No response
The text was updated successfully, but these errors were encountered: