
17 Jul
2006
17 Jul
'06
6:58 p.m.
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