Hi, I cloned the repository https://github.com/orocos-toolchain/rtt and then followed the instructions given in the README The following is from my terminal
sambeet@Holmes ~/rtt/build $ cmake .. Orocos RTT version (2.8.1) No orocos-rtt.cmake file loaded, using default settings.See orocos-rtt.default.cmake Detected OROCOS_TARGET environment variable. Using: gnulinux -- CMAKE_VERSION: 2.8.12 Boost found in /usr/local/include Orocos target is gnulinux -- Found PTHREAD -- Detected gcc4/5: 4.8
-- Found Doxygen -- API documentation can be built TLSF settings: -DUSE_SBRK -DUSE_MMAP -D_GNU_SOURCE -DTLSF_STATISTIC Building MQueue Transport library (Requires Boost >= 1.37.0). No default plugin path given, setting it to /usr/local/lib/orocos. Define the DEFAULT_PLUGIN_PATH cmake variable to override this. -- Configuring done -- Generating done -- Build files have been written to: /home/sambeet/rtt/build sambeet@Holmes ~/rtt/build $ make Scanning dependencies of target orocos-rtt-gnulinux_dynamic [ 0%] Building CXX object rtt/CMakeFiles/orocos-rtt-gnulinux_dynamic.dir/OperationInterface.cpp.o In file included from /home/sambeet/rtt/rtt/internal/DataSourceTypeInfo.hpp:44:0,
from /home/sambeet/rtt/rtt/internal/DataSource.inl:5, from /home/sambeet/rtt/rtt/internal/DataSource.hpp:237, from /home/sambeet/rtt/rtt/OperationInterface.hpp:48, from /home/sambeet/rtt/rtt/OperationInterface.cpp:39:/home/sambeet/rtt/rtt/internal/../types/carray.hpp:165:41: error: ‘array’ is not a member of ‘boost::serialization’
const carray0& operator=( boost::serialization::array1 const& orig ) { ^/home/sambeet/rtt/rtt/internal/../types/carray.hpp:165:41: note: suggested alternative: In file included from /usr/local/include/boost/serialization/array.hpp:151:0,
from /home/sambeet/rtt/rtt/internal/../types/carray.hpp:42, from /home/sambeet/rtt/rtt/internal/DataSourceTypeInfo.hpp:44, from /home/sambeet/rtt/rtt/internal/DataSource.inl:5, from /home/sambeet/rtt/rtt/internal/DataSource.hpp:237, from /home/sambeet/rtt/rtt/OperationInterface.hpp:48, from /home/sambeet/rtt/rtt/OperationInterface.cpp:39:/usr/local/include/boost/array.hpp:60:11: note: ‘boost::array’
class array { ^In file included from /home/sambeet/rtt/rtt/internal/DataSourceTypeInfo.hpp:44:0,
from /home/sambeet/rtt/rtt/internal/DataSource.inl:5, from /home/sambeet/rtt/rtt/internal/DataSource.hpp:237, from /home/sambeet/rtt/rtt/OperationInterface.hpp:48, from /home/sambeet/rtt/rtt/OperationInterface.cpp:39:/home/sambeet/rtt/rtt/internal/../types/carray.hpp:165:75: error: expected primary-expression before ‘>’ token
const carray2& operator=( boost::serialization::array3 const& orig ) { ^/home/sambeet/rtt/rtt/internal/../types/carray.hpp:165:77: error: expected primary-expression before ‘const’
const carray4& operator=( boost::serialization::array5 const& orig ) { ^/home/sambeet/rtt/rtt/internal/../types/carray.hpp:165:89: error: declaration of ‘operator=’ as non-function
const carray6& operator=( boost::serialization::array7 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
Can you please explain to me why is boost::serialization ::array is not applicable. I think it should be a part of boost I am using 1.61 version.Why is this giving me error?