Boost logo

Boost Users :

From: Robert Ramey (ramey_at_[hidden])
Date: 2006-09-25 23:55:47


Using VC 7.1

I have a VC Solution with all my test programs. These use the
serialization library and boost test - test_exec_monitor.

I've recently wanted to make some changes in 1.35 and now
none of my projects link anymore. They build with bjam
but I can't get them linked with VC 7 IDE.

I don't have autolink suppressed. There is no message
indicating that it can't find file test.....lib. What I get
is undefined symbols. This i od to me as I don't use
any symbosl unit_test ....

I've also tried including the library unit_test_framework. That doesn't
seem to help either. Any suggestions would be appreciated.

Robert Ramey

test_simple_class.obj : error LNK2019: unresolved external symbol "void
__cdecl boost::test_tools::tt_detail::check_impl(class
boost::test_tools::predicate_result const &,class
boost::basic_wrap_stringstream<char> &,class
boost::unit_test::basic_cstring<char const >,unsigned int,enum
boost::test_tools::tt_detail::tool_level,enum
boost::test_tools::tt_detail::check_type,unsigned int,...)"
(?check_impl_at_tt_detail_at_test_tools_at_boost@@YAXABVpredicate_result_at_23@AAV?$basic_wrap_stringstream_at_D@3_at_V?$basic_cstring@$$CBD_at_unit_test_at_3@IW4tool_level_at_123@W4check_type_at_123@IZZ)
referenced in function "int __cdecl test_main(int,char * * const)"
(?test_main@@YAHHQAPAD_at_Z)
test_simple_class.obj : error LNK2019: unresolved external symbol "public:
void __thiscall boost::unit_test::unit_test_log_t::set_checkpoint(class
boost::unit_test::basic_cstring<char const >,unsigned int,class
boost::unit_test::basic_cstring<char const >)"
(?set_checkpoint_at_unit_test_log_t_at_unit_test_at_boost@@QAEXV?$basic_cstring@$$CBD_at_23@I0_at_Z)
referenced in function "int __cdecl test_main(int,char * * const)"
(?test_main@@YAHHQAPAD_at_Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::exception_caught(class
boost::execution_exception const &)"
(?exception_caught_at_unit_test_log_t_at_unit_test_at_boost@@UAEXABVexecution_exception_at_3@@Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::assertion_result(bool)"
(?assertion_result_at_unit_test_log_t_at_unit_test_at_boost@@UAEX_N_at_Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_unit_aborted(class
boost::unit_test::test_unit const &)"
(?test_unit_aborted_at_unit_test_log_t_at_unit_test_at_boost@@UAEXABVtest_unit_at_23@@Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_unit_skipped(class
boost::unit_test::test_unit const &)"
(?test_unit_skipped_at_unit_test_log_t_at_unit_test_at_boost@@UAEXABVtest_unit_at_23@@Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_unit_finish(class
boost::unit_test::test_unit const &,unsigned long)"
(?test_unit_finish_at_unit_test_log_t_at_unit_test_at_boost@@UAEXABVtest_unit_at_23@K_at_Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_unit_start(class
boost::unit_test::test_unit const &)"
(?test_unit_start_at_unit_test_log_t_at_unit_test_at_boost@@UAEXABVtest_unit_at_23@@Z)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_aborted(void)"
(?test_aborted_at_unit_test_log_t_at_unit_test_at_boost@@UAEXXZ)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_finish(void)"
(?test_finish_at_unit_test_log_t_at_unit_test_at_boost@@UAEXXZ)
test_simple_class.obj : error LNK2001: unresolved external symbol "public:
virtual void __thiscall
boost::unit_test::unit_test_log_t::test_start(unsigned long)"
(?test_start_at_unit_test_log_t_at_unit_test_at_boost@@UAEXK_at_Z)
MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup


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