Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-08-12 20:25:27

At 07:58 PM 8/12/2002, David Abrahams wrote:

>I'm getting the following link error in my Boost.Python v2 tests
>MSVCRTD.lib(crtexe.obj) : error LNK2001: unresolved external symbol _main
>select_holder.obj : error LNK2019: unresolved external symbol "bool
>boost::test_toolbox::detail::wrapstrstream const &,char const
>*,int,bool,enum boost::unit_test_framework::report_level)"
>123_at_PBDH0W4report_level_at_unit_test_framework_at_3@@Z) referenced in function
>"void __cdecl assert_same(struct
>boost::python::objects::value_holder<struct Base> *,struct
>boost::python::objects::value_holder<struct Base> *)"
>ink-dynamic\select_holder.exe : fatal error LNK1120: 2 unresolved
>What's up with that?

You need to add the appropriate one of the three test librarys.

For example, limits_test used to be specified in the status/Jamfile like

   [ run libs/config/test/limits_test.cpp ]

Now it must be done like this:

   [ run libs/config/test/limits_test.cpp
   <lib>../libs/test/build/test_exec_monitor ]


Boost list run by bdawes at, gregod at, cpdaniel at, john at