Boost logo

Boost Users :

Subject: Re: [Boost-users] Getting started with Boost.Test
From: Vladimir Prus (vladimir_at_[hidden])
Date: 2010-08-23 01:17:32

Otto wrote:

> Hi,
> I'm very new to C++ and Boost. I want to make a simple desktop application
> (a game editor, basically read/write a binary file) using QtCreator.
> Right now I'm only interested in Boost.Test for the unit tests.
> I tried to install using the instructions in "Getting started" but wasn't
> able to, probably because of bad english and lack of C++ knowledge.
> I unpacked Boost to /home/otto/boost_1_44_0/
>>From there, I ran:
> $ mkdir dist
> $ ./ --prefix=/home/otto/boost_1_44_0/dist --show-libraries
> --with-libraries=test

> $ ./bjam install
> It seems that config had no effect as it built everything (instead of just
> test)

Try passing --with-test to bjam invocation.

> and to bin.v2/.

That's expected. bin.v2 is the build directory while the --prefix

> A few "cp: cannot create regular file
> `/usr/local/lib/libboost_wave.a': Permission denied" errors too.
> What went wrong?

You don't have permission to write to /usr/local/lib, apparently. Just
like with every other Unix program, you need to be root to install things

- Volodya

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at