Boost logo

Boost Users :

From: Arjun Bijanki (arjunb_at_[hidden])
Date: 2002-10-14 17:50:00


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++


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