
Problem solved: In case anyone ever needs to know, here are the steps taken to solve the problem: {NOTE: A colleague helped me with this}. Re-loaded Boost, upgrading to v. 1.37 {this upgrade may be a red herring, but it didn't hurt). This version is very friendly to compiling in MS VS 2008 (version 9). Then, added the following, at the top of any relevant file: #include <boost/test/floating_point_comparison.hpp> #define BOOST_TEST_MAIN "Test put_your_town_string_here" #include <boost/test/unit_test.hpp> #include <boost/test/auto_unit_test.hpp> I am not sure if the first of these includes is required, but this always seems to work. Hopefully, someone will be helped by this e-mail at some point or other. Thanks, Sincerely, Joseph A. Marks e-mail: josephamarks@yahoo.com --- On Mon, 12/8/08, Joseph A. Marks <josephamarks@yahoo.com> wrote:
From: Joseph A. Marks <josephamarks@yahoo.com> Subject: LNK2019 with boost::thread_group [!] To: boost-devel@lists.boost.org Date: Monday, December 8, 2008, 10:53 AM I get the following linker error using Boost, I am trying to get it to compile using VS 2008, with a makefile system:
error LNK2019: unresolved external symbol "class boost::unit_test::test_suite * __cdecl init_unit_test_suite(int,char * * const)" (?init_unit_test_suite@@YAPAVtest_suite@unit_test@boost@@HQAPAD@Z) referenced in function _main
Does anyone have any insight?
Thanks in advance,
Joseph A. Marks e-mail: josephamarks @ yahoo.com
Joseph A. Marks e-mail: josephamarks@yahoo.com