sockpp icon indicating copy to clipboard operation
sockpp copied to clipboard

build shared sockpp with static openssl (Windows, MINGW-64, MSYS)

Open helgo1506 opened this issue 5 months ago • 1 comments

I tried to build shared sockpp with openssl.

I wanted to have the openssl inside the sockpp dll, but i won't build.

I build openssl as static lib without problems.

After i did set -DOPENSSL_ROOT_DIR to the static path, it says it can't find the WS2 entries.

i tried to adding -DCMAKE_SHARED_LINKER_FLAGS="-lcrypt32 -lssl -lcrypto" to the cmake call, but i won't work.

Here is the output from it: sockpp_openssl_static.txt

P.S. : If i done some common mistake, let me know. I'm not used to building libs. XD

helgo1506 avatar Sep 15 '24 15:09 helgo1506