Open GoogleCodeExporter opened 9 years ago
Hrmm... I was able to get it to compile with these PreProcessor settings:
RCF_USE_BOOST_ASIO
BOOST_ASIO_HAS_LOCAL_SOCKETS
RCF_USE_BOOST_THREADS
However if I change the PreProcessors settings to:
-DRCF_USE_BOOST_ASIO
-DRCF_USE_BOOST_READ_WRITE_MUTEX
-DRCF_USE_BOOST_SERIALIZATION
-DBOOST_ASIO_HAS_LOCAL_SOCKETS
-DRCF_USE_BOOST_THREADS
I get the following errors:
/home/iharrold/Libraries/tar/RCF-1.0/include/RCF/Marshal.hpp: In function
‘void
RCF::serializeImpl(RCF::SerializationProtocolOut&, const RCF::ByteBuffer&, long
int)’:
/home/iharrold/Libraries/tar/RCF-1.0/include/RCF/Marshal.hpp:197: error:
‘getMyRuntimeVersion’ is not a member of ‘SF’
/home/iharrold/Libraries/tar/RCF-1.0/include/RCF/Marshal.hpp: In function
‘void
RCF::deserializeImpl(RCF::SerializationProtocolIn&, RCF::ByteBuffer&, long
int)’:
/home/iharrold/Libraries/tar/RCF-1.0/include/RCF/Marshal.hpp:217: error:
‘getMyRuntimeVersion’ is not a member of ‘SF’
/home/iharrold/Libraries/tar/RCF-1.0/include/RCF/Marshal.hpp: In constructor
‘RCF::IDL::InHeader::InHeader(RCF::ClientStub&, bool, std::string, int)’:
Original comment by ian.harr...@gmail.com
on 23 Jan 2009 at 6:56
You'll need to add this include at the top of Marshal.hpp:
#include <SF/Serializer.hpp>
, and that should take care of the compiler errors. This issue is fixed in the
upcoming 1.1 release.
BTW, you don't need to define BOOST_ASIO_HAS_LOCAL_SOCKETS, as Boost.Asio
should do
that itself. And RCF_USE_BOOST_READ_WRITE_MUTEX is a leftover from old versions
of
RCF; it no longer has an effect.
Original comment by jarl.lin...@gmail.com
on 4 Feb 2009 at 6:54
Original comment by jarl.lin...@gmail.com
on 28 May 2009 at 1:45
Original comment by jarl.lin...@gmail.com
on 28 May 2009 at 1:46
Original issue reported on code.google.com by
ian.harr...@gmail.com
on 23 Jan 2009 at 5:09Attachments: