2013/2/15 pan yi <outlook_eye@yahoo.com.cn>
Hi all,

I'm a beginner to use boost library for my c++ coding project. After I include the <boost/algorithm/string.hpp> in my cpp file and compile the code, the compiling error indicates that:
   fatal error: boost/algorithm/string.hpp: No such file or directory
I search on internet and knows that I need to install some boost library. But which library should I install? (I tried to install the whole library with  "sudo apt-get install libboost*", but it doesn't work.)

Can any one help me? I'm compiling and executing c++ on ubuntu Version12.04 environment

Hi,

Have you tried typing "install boost ubuntu" into google? ;-)

Here's my first result
http://stackoverflow.com/questions/12578499/boost-installation-ubuntu
and voted best answer sais:
sudo apt-get install libboost-all-dev

I don't use ubuntu, so I can't tell you if it works for me ;-)

HTH,
Kris