Boost logo

Boost :

From: Carl Daniel (cpdaniel_at_[hidden])
Date: 2002-09-08 15:30:19


I assume this has something to do with the ongoing Boost.Test transition...

I was attempting to run the regex regression tests using vc7.mak in
boost\libs\regex\test\regress and got:

Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.2215.1 for
80x86
Copyright (C) Microsoft Corporation 1984-2002. All rights reserved.

tests.cpp
parse.cpp
regress.cpp
Generating Code...
Microsoft (R) Incremental Linker Version 7.10.2215.1
Copyright (C) Microsoft Corporation. All rights reserved.

/out:tests.exe
/out:r1.exe
/LIBPATH:..\..\build\vc7
tests.obj
parse.obj
regress.obj
LIBC.lib(crt0.obj) : error LNK2019: unresolved external symbol _main
referenced in function _mainCRTStartup
r1.exe : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

I recall reading that I need to #define something somewhere to make this
work "as before", but I can't come up with the magic at the moment.

-cd


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk