Replies: 2 comments
-
|
This issue is stale because it has been open for 365 days with no activity. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This issue was closed because it has been inactive for 60 days since being marked as stale. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I compiled Poco 1.13.3 using Visual Studio Community Edition 2022 (64-bit) on a Windows 10 Pro system.
I used CMake as build system and the POCO pre-built OpenSSL binaries as explained in the Getting Started document.
Since CMake was not able to locate the openssl folder, I set the OPENSSL_ROOT_DIR environment variable to point to POCO_BASE/openssl/build/win64/bin/release. After that, the compilation went fine.
However I was not able to run the samples contained in the NetSSL_OpenSSL module.
For example I opened NetSSL_OpenSSL/samples/samples_vs170.sln in Visual Studio and tried to run the sample named download.
First I had to change some parameters since the project didn’t compile:
• in C/C++>General>Additional Include Directories, I added POCO_BASE/openssl/build/include
• in Linker>General>Additional Library Directories, I added POCO_BASE/poco-build/lib
• in Debugging>Environment, I added OPENSSL_ROOT_DIR and POCO_BASE/poco-build/bin to PATH environment variable
After that the compilation was successful, but when I tried to run the sample I got the error The procedure entry point OPENSSL_sk_num could not be located in the dynamic library c:\Users\xxx\git\poco\poco-build\bin\PocoNetSSLd.dll.
It appears to be related to the OpenSSL version compatibility, as the
OPENSSL_sk_numfunction is part of the OpenSSL library and may not be present in the version linked during the build process.Could you please provide guidance on resolving this error?
For your reference, these are the compilation options used by CMake to build Poco on my machine:
Beta Was this translation helpful? Give feedback.
All reactions