Boost logo

Boost Users :

Subject: [Boost-users] boost::serialization::array for Orocos RTT
From: Sambeet Panigrahi (sambeet161616_at_[hidden])
Date: 2016-08-01 06:07:41


Sir,
I work on Orocos Real Time toolkit.Thhe project uses a
boost::serialization::array however in the boost 1.44 I use there is no
such header.Can you please tell me whether this header is really a part of
Boost now? If no what can I use instead of that?
I am posting the relevant build errors from RTT for a clearer idea:

In file included from
/home/sambeet/rtt-master/rtt/internal/DataSourceTypeInfo.hpp:44:0,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.inl:5,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.hpp:237,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.hpp:48,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.cpp:39:
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:99:48: error:
expected ‘)’ before ‘<’ token
             carray( boost::serialization::array<T> const& orig)
                                                ^
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:165:41: error:
‘array’ is not a member of ‘boost::serialization’
             const carray<T>& operator=(
boost::serialization::array<OtherT> const& orig ) {
                                         ^
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:165:41: note:
suggested alternative:
In file included from /usr/include/boost/serialization/array.hpp:151:0,
                 from
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:42,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSourceTypeInfo.hpp:44,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.inl:5,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.hpp:237,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.hpp:48,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.cpp:39:
/usr/include/boost/array.hpp:60:11: note: ‘boost::array’
     class array {
           ^
In file included from
/home/sambeet/rtt-master/rtt/internal/DataSourceTypeInfo.hpp:44:0,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.inl:5,
                 from
/home/sambeet/rtt-master/rtt/internal/DataSource.hpp:237,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.hpp:48,
                 from
/home/sambeet/rtt-master/rtt/OperationInterface.cpp:39:
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:165:75: error:
expected primary-expression before ‘>’ token
             const carray<T>& operator=(
boost::serialization::array<OtherT> const& orig ) {
                                                                           ^
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:165:77: error:
expected primary-expression before ‘const’
             const carray<T>& operator=(
boost::serialization::array<OtherT> const& orig ) {

^
/home/sambeet/rtt-master/rtt/internal/../types/carray.hpp:165:89: error:
declaration of ‘operator=’ as non-function
             const carray<T>& operator=(
boost::serialization::array<OtherT> const& orig ) {

^
make[2]: ***
[rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/OperationInterface.cpp.o]
Error 1
make[1]: *** [rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/all] Error 2
make: *** [all] Error 2

Regards
Sambeet



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