|
Boost : |
Subject: Re: [boost] Problem building Boost test framework
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-05-09 02:24:20
Matthias Troyer <troyer <at> phys.ethz.ch> writes:
>
> Hi,
>
> I am trying to build the libraries for the Boost test framework myself (using
my own CMake files) instead of
> using bjam. When trying to link the file execution_monitor.cpp debug.cpp
cpp_main.cpp into a dynamic
> library libboost_prg_exec_monitor.dylib I get the following linker erros:
>
> Linking CXX shared library libboost_prg_exec_monitor.dylib
> ld: warning: duplicate dylib /usr/lib/libpthread.dylib
> Undefined symbols:
> "boost::debug::attach_debugger(bool)", referenced from:
> _execution_monitor_attaching_signal_handler in execution_monitor.cpp.o
> "boost::debug::under_debugger()", referenced from:
> boost::execution_monitor::execute(boost::unit_test::callback0<int>
const&)in execution_monitor.cpp.o
>
> Do I need to link additional files?
These should be defined in debug.cpp (and implemented in debug.ipp)
Make sure this file is included and check to see the content of preprocessed
file if the issues still outstanding.
Gennadiy
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk