0

I have a question:

I'm using Windows and I wonder how can I install/compile OpenSSL (Version 1.1.1) as a static library that will be included in my C project (the aim here is to avoid installing OpenSSL on every computer that will run my code).

I saw few questions about that, but they all use Visual Studio. I rather want to use VS Code so i can understand everything that is done. And because I prefer coding in VS Code.

Other topic realted to my question:

I'm a bit new to C shared object, static library and DLL. As I understand the difference between .so and .a, is that a .a file will be included in the .exe after compilation so that people don't have to install OpenSSL for using my program.

  • 1
    "*how can I install/compile OpenSSL*". Read the [openssl documentation](https://github.com/openssl/openssl/blob/master/INSTALL.md). It gives detailed instructions about how to compile including both static and shared libs. Please come back when you have read that, tried it out and have a more specific question. – kaylum Sep 11 '21 at 06:08
  • Ok, so I download the OpenSSL from github, but I'm not sure on which configuration I need to run. I'm on windows 10. – RaiZy_Style Sep 11 '21 at 08:24
  • Still confuse on how to build OpenSSL as static lib even after reading the documentation.. – RaiZy_Style Sep 11 '21 at 11:18

0 Answers0