ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to solve 'CMakeFiles/pcl_recognition.dir/src/cg/hough_3d.cpp.o: file not recognized: File truncated' ?

asked 2012-07-09 15:04:44 -0600

sam gravatar image

I try to build perception_pcl_electric_unstable package.

When I rosmake, I get:

  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-20120710-030715
  [ 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-0] Finished <<< rostime ROS_NOBUILD in package rostime                 
  [rosmake-1] Finished <<< std_msgs ROS_NOBUILD in package std_msgs               
  [rosmake-0] Starting >>> rosconsole [ make ]                                    
  [rosmake-2] Finished <<< roslang ROS_NOBUILD in package roslang
   No Makefile in package roslang
  [rosmake-3] Finished <<< smclib ROS_NOBUILD in package smclib                   
  [rosmake-0] Finished <<< rosconsole ROS_NOBUILD in package rosconsole           
  [rosmake-0] Starting >>> rosclean [ make ]                                      
  [rosmake-2] Starting >>> rosgraph [ make ]                                      
  [rosmake-3] Starting >>> rosparam [ make ]                                      
  [rosmake-0] Finished <<< rosclean ROS_NOBUILD in package rosclean               
  [rosmake-1] Starting >>> rosgraph_msgs [ make ]                                 
  [rosmake-2] Finished <<< rosgraph ROS_NOBUILD in package rosgraph               
  [rosmake-0] Starting >>> rosmaster [ make ]                                     
  [rosmake-2] Starting >>> roscpp_traits [ make ]                                 
  [rosmake-1] Finished <<< rosgraph_msgs ROS_NOBUILD in package rosgraph_msgs     
  [rosmake-1] Starting >>> rospy [ make ]                                         
  [rosmake-3] Finished <<< rosparam ROS_NOBUILD in package rosparam               
  [rosmake-2] Finished <<< roscpp_traits ROS_NOBUILD in package roscpp_traits     
  [rosmake-0] Finished <<< rosmaster ROS_NOBUILD in package rosmaster             
  [rosmake-3] Starting >>> xmlrpcpp [ make ]                                      
  [rosmake-1] Finished <<< rospy ROS_NOBUILD in package rospy                     
  [rosmake-0] Starting >>> rosunit [ make ]                                       
  [rosmake-2] Starting >>> roscpp_serialization [ make ]                          
  [rosmake-3] Finished <<< xmlrpcpp ROS_NOBUILD in package xmlrpcpp               
  [rosmake-0] Finished <<< rosunit ROS_NOBUILD in package rosunit                 
  [rosmake-1] Starting >>> pluginlib [ make ]                                     
  [rosmake-1] Finished <<< pluginlib ROS_NOBUILD in package pluginlib             
  [rosmake-2] Finished <<< roscpp_serialization ROS_NOBUILD in package roscpp_serialization
  [rosmake-3] Starting >>> bond [ make ]                                          
  [rosmake-3] Finished <<< bond ROS_NOBUILD in package bond                       
  [rosmake-1] Starting >>> cminpack [ make ]                                      
  [rosmake-2] Starting >>> roscpp [ make ]                                        
  [rosmake-2] Finished <<< roscpp ROS_NOBUILD in package roscpp                   
  [rosmake-3] Starting >>> flann [ make ]                                         
  [rosmake-1] Finished <<< cminpack [PASS] [ 0.05 seconds ]                       
  [rosmake-0] Starting >>> common_rosdeps [ make ]                                
  [rosmake-0] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps   
  [rosmake-2] Starting >>> rosout [ make ]                                        
  [rosmake-1] Starting >>> bondcpp [ make ]                                       
  [rosmake-2] Finished <<< rosout ROS_NOBUILD in package rosout                   
  [rosmake-1] Finished <<< bondcpp ROS_NOBUILD in package bondcpp                 
  [rosmake-3] Finished <<< flann [PASS] [ 0.03 seconds ]                          
  [rosmake-0] Starting >>> eigen [ make ]                                         
  [rosmake-0] Finished <<< eigen ROS_NOBUILD in package eigen                     
  [rosmake-1] Starting >>> nodelet [ make ]                                       
  [rosmake-2] Starting >>> roslaunch [ make ]                                     
  [rosmake-1] Finished <<< nodelet ROS_NOBUILD in package nodelet                 
  [rosmake-2] Finished <<< roslaunch ROS_NOBUILD in package roslaunch
   No Makefile in package roslaunch
  [rosmake-3] Starting >>> bullet [ make ]                                        
  [rosmake-3] Finished <<< bullet ROS_NOBUILD in package bullet                   
  [rosmake-0] Starting >>> rostest [ make ]                                       
  [rosmake-0] Finished <<< rostest ROS_NOBUILD in package rostest                 
  [rosmake-2] Starting >>> angles [ make ]                                        
  [rosmake-2] Finished <<< angles ROS_NOBUILD in package angles                   
  [rosmake-1] Starting >>> rosnode [ make ]                                       
  [rosmake-3] Starting >>> test_roslaunch [ make ]                                
  [rosmake-1] Finished <<< rosnode ROS_NOBUILD in package rosnode                 
  [rosmake-2] Starting >>> test_rosgraph [ make ]                                 
  [rosmake-0] Starting >>> message_filters [ make ]                               
  [rosmake-1] Starting >>> topic_tools [ make ]                                   
  [rosmake-0] Finished <<< message_filters ROS_NOBUILD in package message_filters 
  [rosmake-0] Starting >>> nodelet_topic_tools [ make ]                           
  [rosmake-3] Finished <<< test_roslaunch ROS_NOBUILD in package test_roslaunch   
  [rosmake-1] Finished <<< topic_tools ROS_NOBUILD in package topic_tools         
  [rosmake-2] Finished <<< test_rosgraph ROS_NOBUILD in package test_rosgraph     
  [rosmake-0] Finished <<< nodelet_topic_tools ROS_NOBUILD ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2013-09-11 14:36:05 -0600

tfoote gravatar image

That means the file is corrupted. It was probably cutoff while being written or something inappropriately wrote to it.

The easiest solution is to run make clean or rosmake --pre-clean on it. You could also manually just remove the file itself.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-09 15:04:44 -0600

Seen: 745 times

Last updated: Sep 11 '13