Linux(ubuntu) 下安装Boost 库
来源:互联网 发布:http传输数据大小 编辑:程序博客网 时间:2024/06/13 02:27
随便在哪个文件夹。
首先确保安装的依赖关系解决库
#sudo apt-get install build-essential
然后#apt-cache search boost可以看看跟boost有关的有哪些,一般现在都是libboost这样的。
#sudo apt-getinstall libboost 按tab键,查看所有可用版本,我们这里选择1.54版本的 。
#sudo apt-getinstall libboost 按tab键,查看所有可用版本,我们这里选择1.54版本的 。
最后执行安装
#sudo apt-get installlibboost1.54-dev
#sudo apt-get install libboost1.54-all-dev
就可以了
然后
1.测试代码
http://www.open-abc.com/ccode-206.html
2.编译,运行
--g++ -o test test.cpp
#ls
test test.cpp
# ./test
123456
123.456
http://www.open-abc.com/ccode-206.html
2.编译,运行
--g++ -o test test.cpp
#ls
test
# ./test
123456
123.456
0 0
- Linux(ubuntu) 下安装Boost 库
- 【原创】Linux (ubuntu) 下安装飞…
- 红薯 Linux 下 Redis 安装详解
- Windows/Linux 环境下安装 Apache …
- linux下 firefox安装flash debug …
- Linux 下安装jdk
- 在 Ubuntu 下安装 QT 开发环境
- Linux/ubuntu下的boost库安装
- Linux/ubuntu下的boost库安装
- Linux/ubuntu下的boost库安装
- ubuntu 下安装 texlive&…
- 【原创】打造 Linux(ubuntu) 下的L…
- 【原】Ubuntu Linux 下中文latex字…
- linux 下 opencv2.0 的编译与安装 …
- linux 下 opencv2.0 的编译与安装 …
- ubuntu下安装wine QQ
- Ubuntu下 Nfs服务器安装
- ubuntu下,ARM_tools 的安装
- 第十九天:IO流
- 柔性数组
- python 集合操作 set
- CUDA 共享内存的bank co…
- 贪心算法经典例子
- Linux(ubuntu) 下安装Boost 库
- Kmeans 的MapReduce实现原理
- Pagerank 的mapreduce
- 二维数组的指针
- 手写数字识别的机器学习方法讨论
- java spring框架学习总结
- C++ 结构体 内存分配
- 从STL容器的使用对比,研究hashmap…
- 安卓 在任意地方启动另一个AP…