error compiling utilmm

Hi,

I guess this is caused by my latest system upgrade that brought in
boost1.46. If anything Boost certainly boosts maintance efforts for
the code that uses it...

Markus

utilmm v2.4.0-2-gfc54572

mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake -DCMAKE_INSTALL_PREFIX=`rospack find utilmm`/install ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/lib/ccache/gcc
-- Check for working C compiler: /usr/lib/ccache/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/ccache/c++
-- Check for working CXX compiler: /usr/lib/ccache/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- unit_test_framework: /usr/lib/libboost_unit_test_framework-mt.so
-- Boost version: 1.46.1
-- Found the following Boost libraries:
-- graph: /usr/lib/libboost_graph-mt.so
-- filesystem: /usr/lib/libboost_filesystem-mt.so
-- thread: /usr/lib/libboost_thread-mt.so
-- regex: /usr/lib/libboost_regex-mt.so
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Using unsigned short
-- Check if the system is big endian - little endian
-- Found Doxygen: /usr/bin/doxygen
-- Configuring done
-- Generating done
-- Build files have been written to: /home/mk/src/ros/orocos_toolchain_ros/utilmm/build
cd build && make -j5
make[1]: Entering directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make[2]: Entering directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make[3]: Entering directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
Scanning dependencies of target utilmm
make[3]: Leaving directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make[3]: Entering directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
[ 23%] [ 30%] Building CXX object src/CMakeFiles/utilmm.dir/configfile/commandline.o
Building CXX object src/CMakeFiles/utilmm.dir/configfile/pkgconfig.o
[ 38%] Building CXX object src/CMakeFiles/utilmm.dir/configfile/configfile.o
Building CXX object src/CMakeFiles/utilmm.dir/configfile/shell_expand.o
[ 53%] [ 61%] Building CXX object src/CMakeFiles/utilmm.dir/configsearch/configuration_finder.o
[ 69%] Building CXX object src/CMakeFiles/utilmm.dir/memory/dynamic_pool.o
Building CXX object src/CMakeFiles/utilmm.dir/singleton/dummy.o
Building CXX object src/CMakeFiles/utilmm.dir/demangle/demangle.o
[ 76%] [ 84%] Building CXX object src/CMakeFiles/utilmm.dir/singleton/server.o
Building CXX object src/CMakeFiles/utilmm.dir/system/process.o
[ 92%] Building CXX object src/CMakeFiles/utilmm.dir/system/socket.o
[100%] Building CXX object src/CMakeFiles/utilmm.dir/system/system.o
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/system/process.cc: In member function ‘void utilmm::process::redirect_to(utilmm::process::Stream, const boost::filesystem3::path&)’:
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/system/process.cc:160:28: error: ‘const class boost::filesystem3::path’ has no member named ‘native_file_string’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/system/process.cc: In member function ‘void utilmm::process::start()’:
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/system/process.cc:259:30: error: ‘class boost::filesystem3::path’ has no member named ‘native_file_string’
make[3]: *** [src/CMakeFiles/utilmm.dir/system/process.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc: In static member function ‘static std::string utilmm::ConfigurationFinder::search(const string&, const std::vector<std::basic_string<char> >&)’:
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:56:6: error: ‘exists’ is not a member of ‘boost::filesystem’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:56:6: note: suggested alternative:
/usr/include/boost/range/detail/extract_optional_type.hpp:32:39: note: ‘boost::range_detail::exists’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:58:13: error: ‘system_complete’ is not a member of ‘boost::filesystem’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:69:9: error: ‘exists’ is not a member of ‘boost::filesystem’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:69:9: note: suggested alternative:
/usr/include/boost/range/detail/extract_optional_type.hpp:32:39: note: ‘boost::range_detail::exists’
/home/mk/src/ros/orocos_toolchain_ros/utilmm/src/configsearch/configuration_finder.cc:71:15: error: ‘system_complete’ is not a member of ‘boost::filesystem’
make[3]: *** [src/CMakeFiles/utilmm.dir/configsearch/configuration_finder.o] Error 1
make[3]: Leaving directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make[2]: *** [src/CMakeFiles/utilmm.dir/all] Error 2
make[2]: Leaving directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/mk/src/ros/orocos_toolchain_ros/utilmm/build'
make: *** [all] Error 2

--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users