|
Boost : |
Subject: Re: [boost] linking error with serialization
From: Kenny Riddile (kfriddile_at_[hidden])
Date: 2011-03-21 17:19:49
On 3/21/2011 5:09 PM, Eun-Sung Kim wrote:
> Hi, all
> I have posted the similar one, but no reply.
> So I post a simpler program again.
>
> main.cpp
> #include<boost/archive/text_oarchive.hpp>
> #include<iostream>
>
> int main()
> {
> boost::archive::text_oarchive oa(std::cout);
> int i = 1;
> oa<< i;
> }
>
> The above program has compile/link error as following.
> What is the problem?
> How can I fix it up?
> Thanks,
>
> --Kim
>
Are you linking to the serialization library? The serialization library
isn't header-only.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk