我从网上下载了一个名为libsal.a的C库,以访问该库中的API,我在main.c中包含一个名为#include的头文件.我使用以下命令编译它:
gcc -L /home/traana/Desktop/opensal-1.0.0/libsal.a main.c
Run Code Online (Sandbox Code Playgroud)
但在编译时遇到以下错误
main.c:3:17: fatal error: sal.h: No such file or directory
compilation terminated.
Run Code Online (Sandbox Code Playgroud)
我该怎么做呢?