codeblocks fatal error: openssl/aes.h: no such file or directory solution

codeblocks fatal error: openssl/aes.h: no such file or directory solution


Dingdu! Here is the compilation of Xiao Ah Woo's study course materials. A good memory is not as good as a bad pen. Today is also a day to make progress. Let's advance together!
Insert picture description here

I. Introduction

c++调用已安装的openssl库时出现了问题,小记mark一下~

Two, the solution

如果出现头文件No such file or directory,则需要把头文件的存放路径告诉编译器。
操作步骤:Progect->build options->Search directories

The detailed steps are as follows

First follow to the relevant directory:
my openssl installation path "D:\MyDownloads\OpenSSL-Win64“.

Insert picture description here
Insert picture description here
Open codeblocks, project-> Build opitions-> search directories-> Add
Insert picture description here
Insert picture description here
Add "D:\MyDownloads\OpenSSL-Win64\include\openssl"button.
Insert picture description here

3. Words written at the back

The problem is solved, Ok.

Ending!
More course knowledge learning records will come later!

就酱,嘎啦!

Insert picture description here

Note:
Life is diligent, nothing is gained.

Guess you like

Origin blog.csdn.net/qq_43543789/article/details/108596473