Félix,<div><br></div><div>The best way for you (and the community) to get help with this problem is to post it as a question with all of this information on <a href="http://answers.ros.org" target="_blank">http://answers.ros.org</a>.</div>

<div><br></div><div>
best,</div><div>-j<br><br><div class="gmail_quote">On Sun, Jun 17, 2012 at 11:58 AM, Félix Robles <span dir="ltr"><<a href="mailto:felrobelv@gmail.com" target="_blank">felrobelv@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello everybody.<br><br>I have Ubuntu 64 bits 10.04 with kernel 2.6.32-38-generic and gcc (Ubuntu 4.4.3-4ubuntu5.1) 4.4.3. The problem I have is that I need to compile ROS (Electric or Fuerte) with boost 1.47, but it looks like it only works for boost 1.41 or lower. Is there any workaround?<br>



<br>Following <a href="http://ros.org/wiki/fuerte/Installation/Ubuntu/Source" target="_blank">thishttp://answers.ros.org/question/12792/newer-boost-library-ubuntu-1004/ tutorial</a>, I've successfully compiled ROS Fuerte with boost 1.41. But when I try to compile ROS Fuerte with boost 1.42 (or higher, I've also tried with boost 1.44 and 1.47 and they give even more errors), and this is the output I get:<br>



<br>

<b>~/ros-underlay/build$ make -j</b><br><br>[Everything goes ok up to the following point]<br><br>[ 29%] Generating Lisp code from actionlib/TestRequestResult.msg<br>Linking CXX executable ../bin/rospack<br>[ 29%] Generating Lisp code from actionlib/TestRequestFeedback.msg<br>



[ 29%] [ 29%] Linking CXX executable ../bin/rosstack<br>Generating Python from MSG rosgraph_msgs/Log<br>Generating Python from MSG actionlib/TwoIntsActionResult<br>[ 29%] Generating Lisp code from actionlib/TwoIntsAction.msg<br>



[ 29%] Built target rosgraph_msgs_gencpp<br>../lib/librospack.so: undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'<br>



collect2: ld returned 1 exit status<br>make[2]: *** [bin/rospack] Error 1<br>make[1]: *** [rospack/CMakeFiles/rospackexe.dir/all] Error 2<br>make[1]: *** Waiting for unfinished jobs....<br>Scanning dependencies of target std_srvs_gencpp<br>



[ 29%] Generating Python from MSG actionlib/TwoIntsActionFeedback<br>[ 29%] Generating C++ code from std_srvs/Empty.srv<br>[ 29%] [ 29%] Generating Lisp code from actionlib/TwoIntsActionGoal.msg<br>Generating Python from MSG actionlib/TwoIntsGoal<br>



[ 29%] ../lib/librospack.so: undefined reference to `boost::program_options::options_description::options_description(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int, unsigned int)'<br>



collect2: ld returned 1 exit status<br>make[2]: *** [bin/rosstack] Error 1<br>make[1]: *** [rospack/CMakeFiles/rosstackexe.dir/all] Error 2<br><br><br>Before executing make, I execute cmake, with the following result, which perhaps could be helpful in guessing what's happening:<br>



<br><b>~/ros-underlay$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte</b><br>CMake Error: The source directory "/home/findeton" does not appear to contain CMakeLists.txt.<br>Specify --help for usage, or press the help button on the CMake GUI.<br>



findeton@findeton-laptop:~/ros-underlay$ cd build<br>findeton@findeton-laptop:~/ros-underlay/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/opt/ros/fuerte<br>-- The C compiler identification is GNU<br>-- The CXX compiler identification is GNU<br>



-- Check for working C compiler: /usr/bin/gcc<br>-- Check for working C compiler: /usr/bin/gcc -- works<br>-- Detecting C compiler ABI info<br>-- Detecting C compiler ABI info - done<br>-- Check for working CXX compiler: /usr/bin/c++<br>



-- Check for working CXX compiler: /usr/bin/c++ -- works<br>-- Detecting CXX compiler ABI info<br>-- Detecting CXX compiler ABI info - done<br>-- +++ catkin<br>-- Found PythonInterp: /usr/bin/python2.6<br>-- Looking for include files CMAKE_HAVE_PTHREAD_H<br>



-- Looking for include files CMAKE_HAVE_PTHREAD_H - found<br>-- Looking for pthread_create in pthreads<br>-- Looking for pthread_create in pthreads - not found<br>-- Looking for pthread_create in pthread<br>-- Looking for pthread_create in pthread - found<br>



-- Found Threads: TRUE<br>-- Found gtest: gtests will be built.<br>TODO: implement add_roslaunch_check() in rostest-extras.cmake.<br>-- BUILD_SHARED_LIBS is on.<br>-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>



-- ~~         traversing stacks/projects in dependency order         ~~<br>-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>-- +++ genmsg<br>-- +++ genpy<br>-- +++ gencpp<br>-- +++ genlisp<br>-- +++ rospack<br>



-- Rospack building shared objects.<br>-- Boost version: 1.42.0<br>-- Found the following Boost libraries:<br>--   system<br>--   filesystem<br>--   program_options<br>-- +++ std_msgs<br>-- std_msgs: 32 messages<br>-- +++ ros<br>



-- Boost version: 1.42.0<br>-- Found the following Boost libraries:<br>--   thread<br>--    Making toplevel forward script for bash script rosrun<br>-- +++ roscpp_core<br>-- Looking for execinfo.h<br>-- Looking for execinfo.h - found<br>



-- Performing Test HAVE_CXXABI_H<br>-- Performing Test HAVE_CXXABI_H - Failed<br>-- Looking for backtrace<br>-- Looking for backtrace - found<br>-- Boost version: 1.42.0<br>-- Found the following Boost libraries:<br>--   date_time<br>



--   thread<br>-- +++ ros_comm<br>-- rosgraph_msgs: 2 messages<br>-- std_srvs: 0 messages<br>TODO: consider moving xmlrpcpp's headers into a subdirectory<br>-- Boost version: 1.42.0<br>-- Found the following Boost libraries:<br>



--   regex<br>--   thread<br>-- Boost version: 1.42.0<br>-- Found the following Boost libraries:<br>--   signals<br>--   filesystem<br>--   system<br>-- Looking for include files HAVE_IFADDRS_H<br>-- Looking for include files HAVE_IFADDRS_H - found<br>



-- Looking for trunc<br>-- Looking for trunc - not found<br>-- roscpp: 1 messages<br>-- topic_tools: 0 messages<br>CMake Warning at build/cmake/rosunit/rosunit-extras.cmake:17 (message):<br>  add_pyunit() is deprecated.  For Python tests, use add_nostests() instead.<br>



Call Stack (most recent call first):<br>  ros_comm/tools/topic_tools/CMakeLists.txt:70 (add_pyunit)<br><br><br>-- Found BZip2: /usr/lib/libbz2.so<br>-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so<br>-- Looking for BZ2_bzCompressInit in /usr/lib/libbz2.so - found<br>



CMake Warning at build/cmake/rosunit/rosunit-extras.cmake:17 (message):<br>  add_pyunit() is deprecated.  For Python tests, use add_nostests() instead.<br>Call Stack (most recent call first):<br>  ros_comm/tools/rosbag/CMakeLists.txt:62 (add_pyunit)<br>



<br><br>-- test_ros: 15 messages<br>-- test_roslib_comm: 15 messages<br>-- test_rospy: 12 messages<br>-- test_rosservice: 0 messages<br>-- test_roscpp: 4 messages<br>-- test_roscpp_serialization: 18 messages<br>-- test_roscpp_serialization_perf: 3 messages<br>



-- perf_roscpp: 2 messages<br>-- test_crosspackage: 2 messages<br>-- test_rosbag: 12 messages<br>CMake Warning at build/cmake/rosunit/rosunit-extras.cmake:17 (message):<br>  add_pyunit() is deprecated.  For Python tests, use add_nostests() instead.<br>



Call Stack (most recent call first):<br>  ros_comm/test/test_rosbag/CMakeLists.txt:52 (add_pyunit)<br><br><br>-- +++ rx<br>-- Found wxWidgets: TRUE<br>-- Found PythonLibs: /usr/lib/<a href="http://libpython2.6.so" target="_blank">libpython2.6.so</a><br>



-- +++ common_msgs<br>-- geometry_msgs: 23 messages<br>-- sensor_msgs: 18 messages<br>-- nav_msgs: 5 messages<br>-- actionlib_msgs: 3 messages<br>-- visualization_msgs: 10 messages<br>-- stereo_msgs: 1 messages<br>-- diagnostic_msgs: 3 messages<br>



-- trajectory_msgs: 2 messages<br>-- +++ ros_tutorials<br>-- rospy_tutorials: 2 messages<br>-- roscpp_tutorials: 0 messages<br>-- Looking for Q_WS_X11<br>-- Looking for Q_WS_X11 - found<br>-- Looking for Q_WS_WIN<br>-- Looking for Q_WS_WIN - not found.<br>



-- Looking for Q_WS_QWS<br>-- Looking for Q_WS_QWS - not found.<br>-- Looking for Q_WS_MAC<br>-- Looking for Q_WS_MAC - not found.<br>-- Found Qt-Version 4.6.2 (using /usr/bin/qmake)<br>-- Looking for _POSIX_TIMERS<br>-- Looking for _POSIX_TIMERS - found<br>



-- turtlesim: 3 messages<br>-- +++ actionlib<br>-- Generating .msg files for action actionlib/Test /home/findeton/ros-underlay/actionlib/action/Test.action<br>Generating for action Test<br>-- Generating .msg files for action actionlib/TestRequest /home/findeton/ros-underlay/actionlib/action/TestRequest.action<br>



Generating for action TestRequest<br>-- Generating .msg files for action actionlib/TwoInts /home/findeton/ros-underlay/actionlib/action/TwoInts.action<br>Generating for action TwoInts<br>-- actionlib: 21 messages<br>-- Configuring done<br>



-- Generating done<br>-- Build files have been written to: /home/findeton/ros-underlay/build<br><br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org" target="_blank">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div style="font-family:arial,sans-serif;font-size:13px"><span style>Jonathan Bohren</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style>PhD Student</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style>Dynamical Systems and Control Laboratory</span></div>
<div style="font-family:arial,sans-serif;font-size:13px"><span style>Laboratory for Computational Sensing and Robotics</span></div><div style="font-family:arial,sans-serif;font-size:13px">
<span style>The Johns Hopkins University</span></div><div style="font-family:arial,sans-serif;font-size:13px"><span style><br></span></div><div style="font-family:arial,sans-serif;font-size:13px">
<font style color="#000000"><a href="tel:%28707%29%20520-4736" value="+17075204736" target="_blank">(707) 520-4736</a></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font style color="#000000"><a href="mailto:jbo@jhu.edu" target="_blank">jbo@jhu.edu</a></font></div>


<br>
</div>