centos環境下編譯程序提示缺少頭文件

如編譯時提示 microhttpd.h:No such file or directory
 
 yum provides *microhttpd.h*
已加載插件:fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirrors.ustc.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
libmicrohttpd-devel-0.9.33-2.el7.i686 : Development files for libmicrohttpd
源    :base
匹配來源:
文件名    :/usr/include/microhttpd.h






libmicrohttpd-devel-0.9.33-2.el7.x86_64 : Development files for libmicrohttpd
源    :base
匹配來源:
文件名    :/usr/include/microhttpd.h

 
這樣就能找到的該頭文件的包。安裝對應的包就好了。
yum install libmicrohttpd-devel-0.9.33-2.el7.x86_64您的支持,是我持續創作的動力!!!!

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章