librosconsole.so: undefined reference to `boost::re_detail_106100::cpp_regex_traits_implementation ...
I'm trying to install ROS indigo on a Debian Jessie based distribution using the wiki http://wiki.ros.org/indigo/Installati...
I did rosdep install --from-paths src --ignore-src --rosdistro indigo -y -r --os=debian:jessie
however, when I run sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo
to build the catkin workspace I got a linking error:
==> Processing catkin package: 'pluginlib'
==> Building with env: '/opt/ros/indigo/env.sh'
Makefile exists, skipping explicit cmake invocation...
==> make cmake_check_build_system in '/home/user/ros_catkin_ws/build_isolated/pluginlib'
==> make -j2 -l2 in '/home/user/ros_catkin_ws/build_isolated/pluginlib'
[ 50%] Linking CXX executable /home/user/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool
/opt/ros/indigo/lib/librosconsole.so: undefined reference to `boost::re_detail_106100::cpp_regex_traits_implementation<char>::transform(char const, char const) const'
/opt/ros/indigo/lib/librosconsole.so: undefined reference to `boost::re_detail_106100::cpp_regex_traits_implementation<char>::transform_primary(char const, char const) const'
collect2: error: ld returned 1 exit status
CMakeFiles/plugin_tool.dir/build.make:133: recipe for target '/home/user/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool' failed
make[2]: ** [/home/user/ros_catkin_ws/devel_isolated/pluginlib/lib/pluginlib/plugin_tool] Error 1
CMakeFiles/Makefile2:197: recipe for target 'CMakeFiles/plugin_tool.dir/all' failed
make[1]: ** [CMakeFiles/plugin_tool.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
<== Failed to process package 'pluginlib':
Command '['/opt/ros/indigo/env.sh', 'make', '-j2', '-l2']' returned non-zero exit status 2Reproduce this error by running:
==> cd /home/user/ros_catkin_ws/build_isolated/pluginlib && /opt/ros/indigo/env.sh make -j2 -l2
As for librosconsole.so
==> Processing catkin package: 'rosconsole'
==> Creating build directory: 'build_isolated/rosconsole'
==> Building with env: '/opt/ros/indigo/env.sh'
==> cmake /home/user/ros_catkin_ws/src/ros_comm/rosconsole -DCATKIN_DEVEL_PREFIX=/home/user/ros_catkin_ws/devel_isolated/rosconsole -DCMAKE_INSTALL_PREFIX=/opt/ros/indigo -DCMAKE_BUILD_TYPE=Release -G Unix Makefiles in '/home/user/ros_catkin_ws/build_isolated/rosconsole'
-- The C compiler identification is GNU 5.3.1
-- The CXX compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/user/ros_catkin_ws/devel_isolated/rosconsole
-- Using CMAKE_PREFIX_PATH: /opt/ros/indigo
-- This workspace overlays: /opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/user/ros_catkin_ws/build_isolated/rosconsole/test_results
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests ...
meet the same problem... Can anybody solve it?
Same error with Debian Stretch and ROS Lunar