解决 Boost安装:fatal error: bzlib.h: No such file or directory 问题
2024-10-18 20:21:39
参考:
How to install all the boost development libraries?
解决 Boost安装:fatal error: bzlib.h: No such file or directory 问题
在安装boost时,步骤./b2
出现如下错误:
gcc.compile.c++ bin.v2/libs/iostreams/build/gcc-4.9.4/release/link-static/threading-multi/bzip2.o
libs/iostreams/src/bzip2.cpp:20:56: fatal error: bzlib.h: No such file or directory
#include "bzlib.h" // Julian Seward's "bzip.h" header.
^
compilation terminated.
搜索后发现Boost依赖bzlib.h尚未安装,通过以下步骤解决问题:
sudo apt-get install libboost-all-dev
sudo apt-get install libbz2-dev
2018.3
最新文章
- 我为NET狂官方面试题
- Requests库练习
- symfony安装笔记
- c++之map
- 整形输出netsh的内容
- cellspacing cellpadding
- java.lang.NoClassDefFoundError: javax/servlet/ServletContext
- CodeForces 132C Logo Turtle (记忆化搜索)
- GString及IntelliJIdea中调试Groovy的操作步骤
- json对象转对象
- spring boot项目中处理Schedule定时任务
- P1439 最长公共子序列(nlognLCS问题)
- WPF中的Bitmap与byte
- Oracle的下载安装教程以及所出现的问题
- angular 路由项目例子
- 详解coredump
- jqgrid 编辑行、新增行、删除行、保存行
- Kafka学习之(六)搭建kafka集群
- hdoj1102 Constructing Roads(Prime || Kruskal)
- 浅谈spj
热门文章
- 设计模式之Chain of Responsibility(职责链)(转)
- (Review cs231n) The Gradient Calculation of Neural Network
- 20165215 2017-2018-2 《Java程序设计》第3周学习总结
- Linux基础命令---arping
- 几种线程安全的Map解析
- Codeforce 835B - The number on the board (贪心)
- [转载]window.location.href的用法(动态输出跳转)
- 关于DNS 和根证书你了解多少?
- c#md5加密的简单用法
- python简说(二十九)线程,进程