|
Boost Users : |
From: Merrill Cornish (merrill.cornish_at_[hidden])
Date: 2005-07-22 19:58:51
I am an experienced programmer, but new to the Boost Libraries. I am using Boost 1.32.0 with MinGW under XP Pro.
I have successfully compiled and link a program to the boost_regex-mgw-mt-1_32.dll Now I am trying use Boost test tools to write tests for it.
When I compile and link, the compile passes without warnings, but the link fails with
undefined reference to 'boost::test_tools::tt_detail::message_impl(
boost::basic_wrap_stringstream<char>&,
boost::unit_test::basic_cstring<char const>,
unsigned int)'
I initially set up to statically link with libboost_unit_test_framework-mgw-mt-1_32.lib. When I got the undefined reference, I added libboost_test_exec_monitor-mgw-mt-1_32.lib and libboost_prg_exec_monitor-mgw-mt-1_32.lib, "just in case." Still undefined.
Eventually, I tried added in almost all of the static libraries PLUS copies all of the DLL into the program directory. Still undefined. At that point, I figured that something more than an incomplete makefile is the problem here.
Anyone have any idea what I've missing?
Merrill
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