|
Boost : |
Subject: Re: [boost] Serialization Link Error
From: Venkata (Ravi) Adusumilli (venkata.adusumilli_at_[hidden])
Date: 2009-01-16 13:46:01
Thanks Steven. It Worked.
Ravi.
On Fri, Jan 16, 2009 at 6:51 AM, Steven Watanabe <watanabesj_at_[hidden]>wrote:
> AMDG
>
> Venkata (Ravi) Adusumilli wrote:
>
>> I recieve the following link error:
>> *undefined reference to `void
>>
>> CommandRequest::serialize<boost::archive::xml_iarchive>(boost::archive::xml_iarchive&,
>> unsigned int)'*
>>
>>
>
> You're already explicitly instantiating serialize for test_iarchive. Just
> do the same for
> xml_iarchive
>
> template<class A>
>> void CommandRequest::serialize(A & archive, const unsigned int /* version
>> */)
>> {
>> archive & requestIDM;
>> archive & commandTypeM;
>> }
>> template void
>>
>> CommandRequest::serialize<boost::archive::text_oarchive>(boost::archive::text_oarchive&
>> archive, const unsigned int version);
>> template void
>>
>> CommandRequest::serialize<boost::archive::text_iarchive>(boost::archive::text_iarchive&
>> archive, const unsigned int version);
>>
>>
>
> In Christ,
> Steven Watanabe
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
-- Thank You, Venkata (Ravi) Adusumilli ------------------------------------------------- "A happy New Year! Grant that I May bring no tear to any eye When this New Year in time shall end Let it be said I've played the friend, Have lived and loved and labored here, And made of it a happy year." ~ Edgar Guest -------------------------------------------------
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk