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
RCF 3.1 with Boost.Serialization?
Re: RCF 3.1 with Boost.Serialization?
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:
RCF_FEATURE_BOOST_SERIALIZATION=1
RCF_FEATURE_PROXYENDPOINT=0
, 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.
RCF_FEATURE_BOOST_SERIALIZATION=1
RCF_FEATURE_PROXYENDPOINT=0
, 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.