Boost logo

Boost Users :

Subject: Re: [Boost-users] [serialization] linker errors then building minimal application on WinXP 64
From: Robert Ramey (ramey_at_[hidden])
Date: 2010-04-13 12:10:09


pheres wrote:
> Hello,
>
> the following stripped down code builds fine under 32bit platform but
> fails with lot of linker errors on the 64bit platform. Compiler is
> VS2005. I diagnosed the link procedure and found that my 64bit
> version of libboost_serialization-vc80-mt-1_42.lib is found and tried
> to link Does anybody know what I am doing wrong?

....

> 1>Compiling...
> 1>main.cpp

> 1>Linking to lib file: libboost_serialization-vc80-mt-gd-1_42.lib

Note that the library being referred to in the example is not the one
you built above.

Looks to me that the library was built with release switches while
the executable was built with debug ones. - or something like that.

Robert Ramey


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