title: How to download and use the openssl library from GitHub?
body: <p>I am writing a C++ program where I need to find the sha512 hash of a file at one point so I'm thinking of using the openssl library from <a href="https://github.com/openssl/openssl/tree/master/include/openssl" rel="nofollow noreferrer">https://github.com/openssl/openssl/tree/master/include/openssl</a>. I have downloaded the whole openssl repository but I guess I only need the include/openssl folder so I deleted the rest. Now I have no idea how to tell my compiler to look for sha.h in the openssl folder. One way I tried is by going to my codeblocks settings&gt;compiler&gt;linker settings and then adding all the files present inside the openssl folder and then writing <code>include &lt;openssl/sha.h&gt;</code> but its not working although I am getting a suggestion <a href="https://i.stack.imgur.com/MH6mW.png" rel="nofollow noreferrer">as you can see in this image</a>. When I hit build and run I get the error <a href="https://i.stack.imgur.com/mTbz2.png" rel="nofollow noreferrer">E:\CodeBlocks\C++\test\main.cpp|2|fatal error: openssl/sha.h: No such file or directory|</a>. I am new to using third party libraries and have never done it.</p>