tencentyun / cos-cpp-sdk-v5

MIT License
54 stars 46 forks source link

竟然没有提供windows版本的debug库文件,还得自己编译,Windows碰到PocoNetSSL的问题 #143

Closed tidys closed 7 months ago

tidys commented 11 months ago

对poco不太熟悉,硬着头皮发现使用cmake编译时,竟然没有编译出PocoNetSSL

find_package(OpenSSL)
if(OPENSSL_FOUND)

endif()

怎么样才能找到openssl呢,我看poco的子仓库有openssl,但是里面都是预编译好的,有debug版本,但是怎么配合find_package,让cmake正确build呢?

The easiest way to install OpenSSL on Windows is to get the pre-built
libraries from the pocoproject/openssl Git repository at
<https://github.com/pocoproject/openssl>. This repository is included
as a submodule in the poco GitHub repository, but not in the release
source code packages. You can also provide your own OpenSSL build by
editing the Visual Studio project files.

poco的readme中也说了,在Windows上最简单的方式就是获取预编译的库

Huberyxiao commented 7 months ago

这个具体可以看下poco的说明文档