Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
helgo1506 opened this issue Sep 15, 2024 · 1 comment
Open

Comments

@helgo1506
Copy link

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

@fpagliughi
Copy link
Owner

I'm not sure what you're trying to do.

There's the start of some support for OpenSSL in some of the development branches, but it is incomplete and not ready to try out.

But if you're trying something different, I don't understand trying:

to have the openssl inside the sockpp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants