Running the Boost_1_29_0 regression tests
Hi, I'm having trouble running the Boost_1_29_0 regression tests. A lot of tests don't appear to have main() defined. As an example, one of the tests fails with the following: *** libs/utility/ref_test.cpp *** ** Microsoft Visual C++ cl /Feboosttmp.exe /Zc:wchar_t /nologo /Zm400 /MDd /W3 /GR /GX /Zi /Od /GZ /I".." /D "WIN32" /D "_DEBUG" /D "_MBCS" /_CONSOLE" ../libs/utility/ref_test.cpp /link /incremental:no user32.lib ref_test.cpp LINK : fatal error LNK1561: entry point must be defined 0.80 s Return code: 2 Fail libs/utility/ref_test.cpp has the following lines: #define BOOST_INCLUDE_MAIN #include <boost/test/test_tools.hpp> But this doesn't seem to define a main() function like it did in Boost_1_28_0. Do I need to do some different kind of installation for Boost_1_29_0, or did I pick up wrong headers, or is this function missing? I downloaded Boost_1_29_0 from: http://boost.sourceforge.net/release/boost_1_29_0.zip Thanks! Arjun Bijanki Microsoft Visual C++
"Arjun Bijanki" <arjunb@microsoft.com> writes:
Hi, I'm having trouble running the Boost_1_29_0 regression tests. A lot
Arjun, What are you doing to compile/link the tests? The supported method uses bjam. Have you tried that? If you use the -d+2 option you can look at the command-lines used and replicate them in whatever environment you like. -Dave -- David Abrahams * Boost Consulting dave@boost-consulting.com * http://www.boost-consulting.com
participants (2)
-
Arjun Bijanki
-
David Abrahams