centos环境下编译程序提示缺少头文件
2017-08-09 20:01
295 查看
如编译时提示 microhttpd.h:No such file or directory
yum provides *microhttpd.h*已加载插件:fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.aliyun.com * epel: mirrors.ustc.edu.cn * extras: mirrors.aliyun.com * updates: mirrors.aliyun.comlibmicrohttpd-devel-0.9.33-2.el7.i686 : Development files for libmicrohttpd源 :base匹配来源:文件名 :/usr/include/microhttpd.hlibmicrohttpd-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
相关文章推荐
- UNIX环境高级编程第二版中编译程序提示“apue.h:找不到这个文件或目录”错误
- debian内核编译make menuconfig提示缺少库文件
- IntelliJ IDEA编译环境编写JSP文件报错且没有代码提示,还能正常运行
- CentOS 6环境编译的程序在CentOS5环境运行时报错GLIBCXX_3.4.9的解决方法
- VS2013 编译程序时提示 无法查找或打开 PDB 文件
- 【linux】CentOS编译程序报错 修复 ./Modules/_ssl.c:64:25: 致命错误:openssl/rsa.h:没有那个文件或目录
- VS2013 编译程序时提示 无法查找或打开 PDB 文件
- QT 编译(程序发布),提示缺少某些插件的解决方案
- VS2013 编译程序时提示 无法查找或打开 PDB 文件
- 日常总结(十一)maven配置环境变量提示:mvn不是内部或外部命令,也不是可运行的程序或批处理文件
- ubuntu64编译android程序提示缺少类库
- VS2013 编译程序时提示 无法查找或打开 PDB 文件
- Squid-3.1.6在CentOS上编译出错提示缺少libltd库
- 编译界面程序时提示没有包含指定头文件globalhmi.h
- VS2010编译出现错误,提示无法启动程序“F:\Debug\ALL-BUILD”,系统找不到指定的文件。
- ant 编译android程序 执行build.xml文件到打包资源文件时候报错!提示找不到资源文件!
- 1.2.在linux环境实践,使用vim编写一个程序,然后使用gcc查看【预处理】、【编译】、【汇编】、【链接】各阶段文件的内容。并熟悉相关指令。
- Windows 7 运行VS2015编译的软件提示缺少ucrtbased.dll文件的解决办法
- 打开程序时提示缺少某个库文件是怎么办?grep给你简便方法!!!
- 程序运行提示缺少mfc110.dll等相关文件的解决办法