Ask Your Question
0

How to solve 'boost/graph/boykov_kolmogorov_max_flow.hpp: No such file or directory' ?

asked 2012-07-07 23:08:38 -0500

sam gravatar image

I download pcl for ros:

  svn co http://svn.pointclouds.org/ros/trunk/perception_pcl_electric_unstable

And I rosmake,it shows the error:

  ira@ira-K42JP:~/code/ros/sam_pcl/perception_pcl_electric_unstable$ rosmake
  [ rosmake ] No package specified.  Building stack ['perception_pcl_electric_unstable']                   
  [ rosmake ] Packages requested are: ['perception_pcl_electric_unstable']                                 
  [ rosmake ] Logging to directory/home/ira/.ros/rosmake/rosmake_output-20120708-170257                    
  [ rosmake ] Expanded args ['perception_pcl_electric_unstable'] to:
  ['flann', 'cminpack', 'pcl_ros', 'pcl']
  [ rosmake ] Checking rosdeps compliance for packages perception_pcl_electric_unstable.  This may take a few seconds.
  [ rosmake ] rosdep check failed to find system dependencies: libvtk-qt                                   
  [rosmake-0] Starting >>> cpp_common [ make ]                                                             
  [rosmake-0] Finished <<< cpp_common ROS_NOBUILD in package cpp_common                                    
  [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       
  [rosmake-3] Starting >>> smclib [ make ]                                                                 
  [rosmake-0] Starting >>> rostime [ make ]                                                                
  [rosmake-1] Starting >>> std_msgs [ make ]                                                               
  [rosmake-2] Starting >>> roslang [ make ]                                                                
  [rosmake-3] Finished <<< smclib ROS_NOBUILD in package smclib                                            
  [rosmake-0] Finished <<< rostime ROS_NOBUILD in package rostime                                          
  [rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs                                        
  [rosmake-1] Starting >>> rosgraph_msgs [ make ]                                                          
  [rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs                              
  [rosmake-3] Starting >>> rosclean [ make ]                                                               
  [rosmake-3] Finished <<< rosclean ROS_NOBUILD in package rosclean                                        
  [rosmake-2] Finished <<< roslang ROS_NOBUILD in package roslang
   No Makefile in package roslang          
  [rosmake-0] Starting >>> rosconsole [ make ]                                                             
  [rosmake-1] Starting >>> rosgraph [ make ]                                                               
  [rosmake-2] Starting >>> rospy [ make ]                                                                  
  [rosmake-3] Starting >>> rosparam [ make ]                                                               
  [rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole                                    
  [rosmake-1] Finished <<< rosgraph ROS_NOBUILD in package rosgraph                                        
  [rosmake-1] Starting >>> rosmaster [ make ]                                                              
  [rosmake-0] Starting >>> roscpp_traits [ make ]                                                          
  [rosmake-2] Finished <<< rospy ROS_NOBUILD in package rospy                                              
  [rosmake-3] Finished <<< rosparam ROS_NOBUILD in package rosparam                                        
  [rosmake-1] Finished <<< rosmaster ROS_NOBUILD in package rosmaster                                      
  [rosmake-0] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits                              
  [rosmake-2] Starting >>> xmlrpcpp [ make ]                                                               
  [rosmake-3] Starting >>> rosunit [ make ]                                                                
  [rosmake-0] Starting >>> roscpp_serialization [ make ]                                                   
  [rosmake-2] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp                                        
  [rosmake-1] Starting >>> pluginlib [ make ]                                                              
  [rosmake-3] Finished <<< rosunit ROS_NOBUILD in package rosunit                                          
  [rosmake-2] Starting >>> bond [ make ]                                                                   
  [rosmake-0] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization                
  [rosmake-2] Finished <<< bond ROS_NOBUILD in package bond                                                
  [rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib                                      
  [rosmake-3] Starting >>> cminpack [ make ]                                                               
  [rosmake-0] Starting >>> roscpp [ make ]                                                                 
  [rosmake-0] Finished <<< roscpp ROS_NOBUILD in package roscpp                                            
  [rosmake-2] Starting >>> flann [ make ]                                                                  
  [rosmake-3] Finished <<< cminpack [PASS] [ 0.02 seconds ]                                                
  [rosmake-1] Starting >>> common_rosdeps [ make ]                                                         
  [rosmake-0] Starting >>> rosout [ make ]                                                                 
  [rosmake-1] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps                            
  [rosmake-3] Starting >>> bondcpp [ make ]                                                                
  [rosmake-0] Finished <<< rosout ROS_NOBUILD in package rosout                                            
  [rosmake-0] Starting >>> roslaunch [ make ]                                                              
  [rosmake-3] Finished <<< bondcpp ROS_NOBUILD in package bondcpp                                          
  [rosmake-3] Starting >>> nodelet [ make ]                                                                
  [rosmake-3] Finished <<< nodelet ROS_NOBUILD in package nodelet                                          
  [rosmake-0] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
   No Makefile in package roslaunch    
  [rosmake-2] Finished <<< flann [PASS] [ 0.02 seconds ]                                                   
  [rosmake-3] Starting >>> eigen [ make ]                                                                  
  [rosmake-0] Starting >>> rostest [ make ]                                                                
  [rosmake-0] Finished <<< rostest ROS_NOBUILD in package rostest                                          
  [rosmake-3] Finished <<< eigen ROS_NOBUILD in package eigen                                              
  [rosmake-2] Starting >>> test_roslaunch [ make ]                                                         
  [rosmake-2] Finished <<< test_roslaunch ROS_NOBUILD in package test_roslaunch                            
  [rosmake-2] Starting >>> test_rosgraph [ make ]                                                          
  [rosmake-3] Starting >>> message_filters [ make ]                                                        
  [rosmake-1] Starting >>> bullet [ make ]                                                                 
  [rosmake-3] Finished <<< message_filters ROS_NOBUILD in package message_filters                          
  [rosmake-0] Starting >>> topic_tools [ make ]                                                            
  [rosmake-3] Starting >>> nodelet_topic_tools [ make ]                                                    
  [rosmake-2] Finished <<< test_rosgraph ROS_NOBUILD in package test_rosgraph                              
  [rosmake-3] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools                  
  [rosmake-1] Finished <<< bullet ROS_NOBUILD in package bullet                                            
  [rosmake-0] Finished <<< topic_tools ROS_NOBUILD in package topic_tools                                  
  [rosmake-3] Starting >>> angles [ make ]                                                                 
  [rosmake-3] Finished <<< angles ROS_NOBUILD in ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-09 16:49:55 -0500

Mac gravatar image

This is because PCL doesn't do a good job of keeping track of which version of boost you're using; it assumes you have the latest.

That particular thing was added to boost fairly recently, and your version of boost is too old.

You'll need a newer linux (say, Ubuntu Precise), or to install a newer boost.

edit flag offensive delete link more

Comments

How to update boost on an older version of ubuntu? Thank you~

sam gravatar image sam  ( 2012-08-09 17:17:41 -0500 )edit

Build it from source; see boost.org.

Mac gravatar image Mac  ( 2012-08-09 22:14:03 -0500 )edit

Is there any way to build from apt? Thank you~

sam gravatar image sam  ( 2012-08-10 00:02:00 -0500 )edit

You could look for a PPA; figuring that out is better-suited to an Ubuntu forum of some sort. (My machines run precise, so haven't had to figure this out for myself.)

Mac gravatar image Mac  ( 2012-08-11 17:30:12 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-07 23:08:38 -0500

Seen: 423 times

Last updated: Aug 09 '12