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
Please forgive me if this is stupid, I'm a C# developer using vcpkg (and C++) for the first time.
From #18238 it seems that vcpkg builds NetSSL_Win and not NetSSL_OpenSSL for Poco. However I wasn't able to do
vcpkg install poco[netssl]:x64-windows --recurse
without first doing
vcpkg install openssl:x64-windows
And now that I've got Poco built, I'm getting a runtime error (read access violation) in \vcpkg\buildtrees\openssl\x64-windows-dbg\ssl\ssl_lib.c because Poco::Net::Context is passing OpenSSL a null SSL_CTX.
My theory is that it's mixing NetSSL_Win and NetSSL_OpenSSL versions of the classes, so that even though I've created the Context (what I believe is) correctly, I've created a NetSSL_Win context that it's trying to use with OpenSSL.
Is there a way of telling whether vcpkg is using NetSSL_Win or NetSSL_OpenSSL? Looking in \vcpkg\buildtrees\poco\src\5e947b89f9-22a3da2471.clean there are both NetSSL_Win and NetSSL_OpenSSL folders.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Please forgive me if this is stupid, I'm a C# developer using vcpkg (and C++) for the first time.
From #18238 it seems that vcpkg builds NetSSL_Win and not NetSSL_OpenSSL for Poco. However I wasn't able to do
vcpkg install poco[netssl]:x64-windows --recurse
without first doing
vcpkg install openssl:x64-windows
And now that I've got Poco built, I'm getting a runtime error (read access violation) in
\vcpkg\buildtrees\openssl\x64-windows-dbg\ssl\ssl_lib.c
becausePoco::Net::Context
is passing OpenSSL a nullSSL_CTX
.My theory is that it's mixing NetSSL_Win and NetSSL_OpenSSL versions of the classes, so that even though I've created the Context (what I believe is) correctly, I've created a NetSSL_Win context that it's trying to use with OpenSSL.
Is there a way of telling whether vcpkg is using NetSSL_Win or NetSSL_OpenSSL? Looking in
\vcpkg\buildtrees\poco\src\5e947b89f9-22a3da2471.clean
there are bothNetSSL_Win
andNetSSL_OpenSSL
folders.Environment
Beta Was this translation helpful? Give feedback.
All reactions