c++ – How to download and use the openssl library from GitHub?

c++ – How to download and use the openssl library from GitHub?

The problem is not with OpenSSL, but with your lack of knowledge how to use CodeBllocks to tell the compiler where your libraries are.

Adding

In Code::Blocks 20.3 (Linux) you need to

  1. Select Project from the main menu
  2. Select Project/targets options
  3. In the pop-up dialog select Project build options
  4. Select Search directories tab
  5. Select Compiler tab
  6. Press Add button
  7. Navigate to the directory with the header files of your library; you can select keep this as a relative path, which is recommended in projects developed on different computers

Remember that you show to the compiler additional (to the default ones) path(s) where it has to look for headers, not individual header files themselves.

c++ – How to download and use the openssl library from GitHub?

Leave a Reply

Your email address will not be published. Required fields are marked *