How to solve the error of missing openssl/evp.h when compiling uboot?
Description
When I compiled uboot according to chapter 3 of the VisionFive Single
Board Computer Software Technical Reference Manual, the output log contains the
following error
message:
fatal error: openssl/evp.h: 没有那个文件或目录
SoC
JH7100
SBC
VisionFive
Software
Ubuntu 20.04
Cause
The u-boot
code uses the related code in
OpenSSL while OpenSSL is not installed
on your environment.
Solution
Install OpenSSL.
Procedure
Execute the following command on your Ubuntu to install OpenSSL:
sudo apt install libssl dev