Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
278 views
in Technique[技术] by (71.8m points)

c++ - 如何在Linux中使用Boost库[关闭](How can I use boost libraries in linux [closed])

I would like to use boost libraries however I have to download boost on Windows so I figured I would have to download that in a Linux environment if I want to use the vim editor.

(我想使用boost库,但是我必须在Windows上下载boost,所以我想如果要使用vim编辑器,则必须在Linux环境中下载。)

  ask by JW1384 translate from so

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

on Ubuntu the easiest way is:

(在Ubuntu上,最简单的方法是:)

sudo apt-get install libboost-all-dev

on CentOs:

(在CentO上:)

sudo yum install boost boost-devel

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...