Boost logo

Boost Users :

Subject: Re: [Boost-users] Question about installing and using boost library.
From: Krzysztof Czainski (1czajnik_at_[hidden])
Date: 2013-02-15 12:06:30


2013/2/15 pan yi <outlook_eye_at_[hidden]>

> 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net