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.
In Code::Blocks 20.3 (Linux) you need to
- Select
Project
from the main menu - Select
Project/targets options
- In the pop-up dialog select
Project build options
- Select
Search directories
tab - Select
Compiler
tab - Press
Add
button - 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.