engine.h Not Found When KAE Is Installed Through Source Code Compilation
Symptom
When the engine layer code of KAE is compiled, the engine.h file is missing. Detailed error information: "engine.h: No such file or directory"

Key Process and Cause Analysis
This error message is displayed because the engine.h header file is required for compiling the engine layer code of KAE. The compiler searches for the file in the default path. If the file cannot be found and no other search path is configured, this error message is displayed.
Conclusion and Solution
- Ensure that OpenSSL has been correctly installed by following the instructions in "Installing OpenSSL/Tongsuo" in the Kunpeng Accelerator Engine User Guide.
- Find the directory where the engine.h file is located.
1find / -name engine.h
- Add the directory to the environment variable C_INCLUDE_PATH.
1export C_INCLUDE_PATH=Queried_directory:$C_INCLUDE_PATH
- Check whether the environment variable is successfully added.
1echo $C_INCLUDE_PATH
If the directory where the engine.h file is located is displayed, the environment variable is successfully added.
Parent topic: KAE Installation