RCF 3.1 with Boost.Serialization?

RCF support and general discussion.
Post Reply
Posts: 12
Joined: Tue Mar 26, 2013 2:55 pm

RCF 3.1 with Boost.Serialization?

Post by Raider »

I'm trying to build RCFDemo with RCF_FEATURE_BOOST_SERIALIZATION. It does not compile. Does RCF 3.1 support Boost Serialization?

I change #include <SF/vector.hpp>
for #include <boost/serialization/vector.hpp>
in DemoInterface.hpp

but get an error message:
rcf-3.1.328\include\sf\serializer.hpp(267): error C2039: 'serialize': is not a member of 'std::vector<std::string,std::allocator<_Ty>>'

RCF seems to be using SF serialization instead of Boost.Serialization

Posts: 238
Joined: Mon Oct 03, 2011 4:53 am

Re: RCF 3.1 with Boost.Serialization?

Post by jarl »

Boost.Serialization is still supported, but at the moment if you want to build with B.Ser. you will need to disable the recently added proxy endpoint feature, as that has a dependency on SF serialization. So in your build you should define these:


, and that should take care of it.

I've checked with a test project here and was able to build and run a program using B.Ser.
Kind Regards

Jarl Lindrud
Delta V Software

Post Reply