出现以下错误:
mlogc.c:32:23: error: curl/curl.h: No such file or directory
mlogc.c:1091: error: expected ‘)’ before ‘*’ token
mlogc.c: In function ‘logc_init’:
出错原因:缺少libcurl-dev or libcurl-devel
centOS上安装依赖包:
yum install libcurl-dev libcurl-devel
版权声明:本文博主原创文章,博客,未经同意不得转载。