I'm trying to port a larger project to an embedded Linux system (Debian 8.3 ARM). The project requires Boost libraries newer than the system's Synaptic (1.55 vs. 1.58), so I'll need to build Boost from source. Usually I pick the most recent version, which was 1.60 when I downloaded things two weeks ago (current is 1.61).
The project contains test cases requiring
./bootstrap.sh --prefix=/home/tinyt/b160_clang \
./b2 install toolset=clang
bjam --prefix=/... --with-<...>
error: wrong library name 'boost_unit_test_framework' in the --with-<library> option.
You're using incorrect name to specify the library.
You may run
to obtain a list of names of the libraries that require compilation.
For example, with boost 1.58, I get the following (trimmed) output:
...updated 1 target... The following libraries require building: - atomic - chrono - container - context - coroutine - date_time - exception - filesystem - graph - graph_parallel - iostreams - locale - log - math - mpi - program_options - python - random - regex - serialization - signals - system - test - thread - timer - wave
Inspecting that, I can see there is a library named
test. That's the one you're looking for. Hence, your command line to perform the build should contain: