openssl版本问题 #2228
Unanswered
qazwsxedckll
asked this question in
Q&A
openssl版本问题
#2228
Replies: 1 comment 3 replies
-
在一个目标程序里面同时使用,只能使用其中一个版本,可以通过下面的方式改写 curl 依赖的 openssl 版本。。至于用哪个版本你们自己决定 add_requireconfs("libcurl.openssl", {override = true, version = "1.0.2u"}) |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
我的项目使用了libcurl,依赖openssl1.1.1m,但是项目里有旧的代码,依赖openssl1.0.2u,这种情况怎么解决
add_requires("libcurl", "openssl 1.0.2u")
target("xxx")
add_packages("libcurl", "openssl")
这样会安装openssl#1 1.1.1m [from:libcurl]
项目编译不过error: ‘HMAC_CTX_init’ was not declared in this scope; did you mean ‘HMAC_CTX_new’?
Beta Was this translation helpful? Give feedback.
All reactions