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.
In Code::Blocks 20.3 (Linux) you need to
Projectfrom the main menu
- In the pop-up dialog select
Project build options
- 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.