[ros-users] problems building mrpt_common and mrpt_slam

Tim Coddington tim.coddington at rteamworks.com
Thu Oct 13 03:11:03 UTC 2011


After I reinstalled and successfully built these packages I guess
i expected there'd be some source in them but I guess they are intended
to proxy the mrpt includes/libs for other ros packages??

I've posted on ros ask questions site and explained what I'm trying to
do.

Thanks much


On Thu, 2011-10-13 at 02:27 +0200, Jose Luis Blanco wrote:
> Hi Tim,
> 
> I found the reason for the (stupid) problem... some "Makefile"s which
> shouldn't, were added to the SVN.
> Try updating or checking out a fresh copy and "rosmake mrpt_*" should work now.
> 
> If you have built MRPT from sources, ignore the rosmake warning:
> 
> WARNING: Rosdep did not detect the following system dependencies as
> installed: mrpt Consider using --rosdep-install option or....
> 
> because CMake should be able to localize MRPT_DIR automatically. It it
> doesn't, in the worst case you can always install the latest
> libmrpt-dev package from the PPA repository.
> 
> Cheers,
> Jose Luis
> 
> 
> >>>
> 
> Hi,
> 
> After checking out a copy of mrpt_common, mrpt_hwdrivers, and mrpt_slam
> I tried to build mrpt_common and received errors. See below. I get
> similar errors when I try to rosmake mrpt_slam. However, mrpt_hwdrivers
> appears to build OK. Any ideas?.
> 
> Note: tried to "report bugs" link on
> http://www.ros.org/wiki/mrpt_common# but link was bad - "Environment not
> found" on an otherwise empty page.
> 
> tim at RPS-Laptop5:~/ros_workspace$ rosmake --rosdep-install mrpt_common
> [ rosmake ] Packages requested are:
> ['mrpt_common']
> [ rosmake ] Logging to
> directory/home/tim/.ros/rosmake/rosmake_output-20111009-222733
> [ rosmake ] Expanded args ['mrpt_common'] to:
> ['rawlog_play', 'mrpt_msgs', 'mrpt_libs',
> 'mrpt_bridge']
> [ rosmake ] Generating Install Script using rosdep then executing. This
> may take a minute, you will be prompted for
> permissions. . .
> [ rosmake ] rosdep successfully installed all system
> dependencies
> [rosmake-0] Starting >>> rosemacs [ make
> ]
> [rosmake-0] Finished <<< rosemacs ROS_NOBUILD in package rosemacs
>  No Makefile in package
> rosemacs
> [rosmake-1] Starting >>> roslib [ make
> ]
> [rosmake-1] Finished <<< roslib ROS_NOBUILD in package
> roslib
> [rosmake-2] Starting >>> rosbuild [ make
> ]
> [rosmake-2] Finished <<< rosbuild ROS_NOBUILD in package rosbuild
>  No Makefile in package
> rosbuild
> 
> 
> [snip!...snip!]
> 
> 
> [rosmake-1] Finished <<< sensor_msgs ROS_NOBUILD in package
> sensor_msgs
> [rosmake-0] Starting >>> nav_msgs [ make
> ]
> [rosmake-0] Finished <<< nav_msgs ROS_NOBUILD in package
> nav_msgs
> [rosmake-1] Starting >>> stereo_msgs [ make
> ]
> [rosmake-0] Starting >>> test_common_msgs [ make
> ]
> [rosmake-3] Finished <<< roswtf ROS_NOBUILD in package
> roswtf
> [rosmake-3] Starting >>> test_roswtf [ make
> ]
> [rosmake-1] Finished <<< stereo_msgs ROS_NOBUILD in package
> stereo_msgs
> [rosmake-0] Finished <<< test_common_msgs ROS_NOBUILD in package
> test_common_msgs
> [rosmake-0] Starting >>> mrpt_msgs [ make
> ]
> [rosmake-1] Starting >>> visualization_msgs [ make
> ]
> [rosmake-3] Finished <<< test_roswtf ROS_NOBUILD in package
> test_roswtf
> [rosmake-3] Starting >>> test_rospy [ make
> ]
> [rosmake-1] Finished <<< visualization_msgs ROS_NOBUILD in package
> visualization_msgs
> [rosmake-3] Finished <<< test_rospy ROS_NOBUILD in package
> test_rospy
> [ rosmake ] All 3 lines
> {-------------------------------------------------------------------------------
>   CMake Error: The source directory
> "/home/jlblanco/code/mrpt-ros-pkg/mrpt_common/mrpt_msgs" does not exist.
>   Specify --help for usage, or press the help button on the CMake GUI.
> -------------------------------------------------------------------------------}
> [ rosmake ] Output from build of package mrpt_msgs written to:
> [ rosmake
> ]    /home/tim/.ros/rosmake/rosmake_output-20111009-222733/mrpt_msgs/build_output.log
> [rosmake-0] Finished <<< mrpt_msgs [FAIL] [ 0.02 seconds
> ]
> [rosmake-1] Starting >>> test_roscpp_serialization [ make
> ]
> [rosmake-1] Finished <<< test_roscpp_serialization ROS_NOBUILD in
> package
> test_roscpp_serialization
> [ rosmake ] Halting due to failure in package mrpt_msgs.
> [ rosmake ] Waiting for other threads to
> complete.
> [rosmake-3] Starting >>> roslisp [ make
> ]
> [rosmake-3] Finished <<< roslisp ROS_NOBUILD in package
> roslisp
> [rosmake-2] Finished <<< mrpt_libs [PASS] [ 1.76 seconds
> ]
> [ rosmake ]
> Results:
> [ rosmake ] Built 61 packages with 1
> failures.
> [ rosmake ] Summary output to
> directory
> [ rosmake
> ] /home/tim/.ros/rosmake/rosmake_output-20111009-222733
> tim at RPS-Laptop5:~/ros_workspace




More information about the ros-users mailing list