|
Boost Users : |
From: Dieter Buys (dieter.buys_at_[hidden])
Date: 2006-07-17 14:58:10
Robert Ramey wrote:
> I just compiled, linked and ran your example on my VC 7.1 one system and it
> worked just fine.
>
> Robert Ramey
Hi Robert,
I found a forum thread on GameDev.net
(http://www.gamedev.net/community/forums/topic.asp?topic_id=380003)
which advised me to rearrange the header files so that the archives are
included before the serialization ones, thus:
#include <boost/shared_ptr.hpp>
#include <boost/archive/text_iarchive.hpp>
#include <boost/archive/text_oarchive.hpp>
#include <boost/serialization/utility.hpp>
#include <boost/serialization/serialization.hpp>
#include <boost/serialization/tracking.hpp>
This solved the problem.
Thanks for your help,
~ Dieter Buys
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