Boost logo

Boost :

From: Larry Evans (cppljevans_at_[hidden])
Date: 2007-08-16 09:11:41


On 08/15/2007 06:39 AM, Douglas Gregor wrote:
> On Aug 14, 2007, at 5:38 PM, Larry Evans wrote:
>> cd ~/prog_dev/boost-svn/ro/sandbox-branches/boost-cmake/build/
>> ctest
>> Start processing tests
>> Test project
>> /home/evansl/prog_dev/boost-svn/ro/sandbox-branches/boost-cmake/build
>> 1/ 83 Testing metaprogramming::largest_int ***Failed
>> 2/ 83 Testing metaprogramming::msvc_is_class***Failed
>> 3/ 83 Testing metaprogramming::template_arit***Failed
>> ...
>> 82/ 83 Testing metaprogramming::vector_c ***Failed
>> 83/ 83 Testing metaprogramming::zip_view ***Failed
>>
>> 0% tests passed, 83 tests failed out of 83
>>
>> Doug, do you have any idea what I should do to get these
>> tests to run?
>
> I't s a bug in our build system. In particular, we're not passing the
[snip]
The CMakeCache.txt contains the lines:

//Enable testing of Boost.IOStreams
TEST_BOOST_IOSTREAMS:BOOL=ON

I tried running just make instead of ctest to see if it would run
the test; however, I got an error about missing static library
(I've forgotten what library, but say it's XXX). So, I next
entered ccmake to specify the build and test of XXX and then
make. Then, after a few compiles, it said I was missing
library YYY (where YYY is actually some real library name).
The actual error message was along the pattern of:

Linking CXX executable ../../bin/quickbook
/usr/bin/ld: cannot find -lboost_filesystem-static
collect2: ld returned 1 exit status

What can be done so cmake generates the Makefiles which build the
required libraries instead of complaining about not finding them?

TIA.

-regards,
Larry


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk