Boost logo

Boost :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-01-08 23:19:01

When I link multiple files that have included zip_iterator.hpp I get
the following link error in MSVC 8.0.

...found 16 targets...
...updating 3 targets... ..\bin\examples\msvc-8.0\release\test.exe
test2.obj : error LNK2005: "bool __cdecl
boost::tuples::null_type,struct boost::tuples::null_type)"
already defined in test1.obj
..\bin\examples\msvc-8.0\release\test.exe : fatal error LNK1169: one
or more multiply defined symbols found

    call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" > nul
link /NOLOGO /subsystem:console
/out:"..\bin\examples\msvc-8.0\release\test.exe" /INCREMENTAL:NO

...failed ..\bin\examples\msvc-8.0\release\test.exe
...removing ..\bin\examples\msvc-8.0\release\test.rsp
...failed updating 2 targets...
...updated 1 target...

I have attached the two files I am compiling and my Jamfile.


Boost list run by bdawes at, gregod at, cpdaniel at, john at