Ask Your Question
0

How to solve 'src/BulletSoftBody/btSoftBodyInternals.h: In function 「void ZeroInitialize(T&) [with T = btSoftBody::Node]」'?

asked 2012-08-10 00:05:33 -0500

sam gravatar image

I use ubuntu 11.10 and fuerte.

When I rosmake my PCL project, it shows:

  sam@sam:~/code/ros/sam_pcl/wei_pcl_tutorial$ rosmake
  [ rosmake ] rosmake starting...                                                                                                                                                                                    
  [ rosmake ] No package specified.  Building ['wei_pcl_tutorial']                                                                                                                                                   
  [ rosmake ] Packages requested are: ['wei_pcl_tutorial']                                                                                                                                                           
  [ rosmake ] Logging to directory /home/sam/.ros/rosmake/rosmake_output-20120810-175832                                                                                                                             
  [ rosmake ] Expanded args ['wei_pcl_tutorial'] to:
  ['wei_pcl_tutorial']                                                                                                                                            
  [rosmake-0] Starting >>> std_msgs [ make ]                                                                                                                                                                         
  [rosmake-0] Finished <<< std_msgs  No Makefile in package std_msgs                                                                                                                                                 
  [rosmake-0] Starting >>> geometry_msgs [ make ]                                                                                                                                                                    
  [rosmake-0] Finished <<< geometry_msgs  No Makefile in package geometry_msgs                                                                                                                                       
  [rosmake-0] Starting >>> sensor_msgs [ make ]                                                                                                                                                                      
  [rosmake-0] Finished <<< sensor_msgs  No Makefile in package sensor_msgs                                                                                                                                           
  [rosmake-0] Starting >>> pcl [ make ]                                                                                                                                                                              
  [rosmake-0] Finished <<< pcl  No Makefile in package pcl                                                                                                                                                           
  [rosmake-0] Starting >>> roslang [ make ]                                                                                                                                                                          
  [rosmake-0] Finished <<< roslang  No Makefile in package roslang                                                                                                                                                   
  [rosmake-0] Starting >>> roscpp [ make ]                                                                                                                                                                           
  [rosmake-0] Finished <<< roscpp  No Makefile in package roscpp                                                                                                                                                     
  [rosmake-0] Starting >>> rosbag [ make ]                                                                                                                                                                           
  [rosmake-0] Finished <<< rosbag  No Makefile in package rosbag                                                                                                                                                     
  [rosmake-0] Starting >>> rosbuild [ make ]                                                                                                                                                                         
  [rosmake-0] Finished <<< rosbuild  No Makefile in package rosbuild                                                                                                                                                 
  [rosmake-0] Starting >>> roslib [ make ]                                                                                                                                                                           
  [rosmake-0] Finished <<< roslib  No Makefile in package roslib                                                                                                                                                     
  [rosmake-0] Starting >>> rosconsole [ make ]                                                                                                                                                                       
  [rosmake-0] Finished <<< rosconsole  No Makefile in package rosconsole                                                                                                                                             
  [rosmake-0] Starting >>> pluginlib [ make ]                                                                                                                                                                        
  [rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib                                                                                                                                                
  [rosmake-0] Starting >>> rospy [ make ]                                                                                                                                                                            
  [rosmake-0] Finished <<< rospy  No Makefile in package rospy                                                                                                                                                       
  [rosmake-0] Starting >>> bond [ make ]                                                                                                                                                                             
  [rosmake-0] Finished <<< bond ROS_NOBUILD in package bond                                                                                                                                                          
  [rosmake-0] Starting >>> smclib [ make ]                                                                                                                                                                           
  [rosmake-0] Finished <<< smclib ROS_NOBUILD in package smclib                                                                                                                                                      
  [rosmake-0] Starting >>> bondcpp [ make ]                                                                                                                                                                          
  [rosmake-0] Finished <<< bondcpp ROS_NOBUILD in package bondcpp                                                                                                                                                    
  [rosmake-0] Starting >>> nodelet [ make ]                                                                                                                                                                          
  [rosmake-0] Finished <<< nodelet ROS_NOBUILD in package nodelet                                                                                                                                                    
  [rosmake-0] Starting >>> message_filters [ make ]                                                                                                                                                                  
  [rosmake-0] Finished <<< message_filters  No Makefile in package message_filters                                                                                                                                   
  [rosmake-0] Starting >>> rosservice [ make ]                                                                                                                                                                       
  [rosmake-0] Finished <<< rosservice  No Makefile in package rosservice                                                                                                                                             
  [rosmake-0] Starting >>> dynamic_reconfigure [ make ]                                                                                                                                                              
  [rosmake-0] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure                                                                                                                            
  [rosmake-0] Starting >>> nodelet_topic_tools [ make ]                                                                                                                                                              
  [rosmake-0] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools                                                                                                                            
  [rosmake-0] Starting >>> rostest [ make ]                                                                                                                                                                          
  [rosmake-0] Finished <<< rostest  No Makefile in package rostest                                                                                                                                                   
  [rosmake-0] Starting >>> bullet [ make ]                                                                                                                                                                           
  [ rosmake ] Last 40 linesllet: 3.3 sec ]                                                                                                                                                [ 1 Active 21/28 Complete ]
  {-------------------------------------------------------------------------------
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBodyInternals.h: In function 「void ZeroInitialize(T&) [with T = btSoftBody::Node]」:
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBody.cpp:80:19:   instantiated from here
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBodyInternals.h:175:17: 錯誤: 未初始化的常數 「zerodummy」 [-fpermissive]
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBody.h:193:9: 附註: 「const struct btSoftBody::Node」 has no user-provided default constructor
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBodyInternals.h: In function 「void ZeroInitialize(T&) [with T = btSoftBody::Material]」:
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBody.cpp:157:21:   instantiated from here
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBodyInternals.h:175:17: 錯誤: 未初始化的常數 「zerodummy」 [-fpermissive]
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody/btSoftBody.h:179:9: 附註: 「const struct btSoftBody::Material」 has no user-provided default constructor
    /home/sam/code/ros/sam_perception/sam_recognition/eigen/bullet/build/bullet_svn/src/BulletSoftBody ...
(more)
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2012-08-10 00:16:33 -0500

Lorenz gravatar image

Something seems to be messed up with your ros workspace. Why does it try to compile bullet at all? It should be installed by the debian package ros-fuerte-bullet. Try cleaning up your ros workspace and get rid of the directory bullet and its parent eigen.

edit flag offensive delete link more

Comments

What is clean up,get rid of bullet and eigen means? What should I do? Thank you~

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

You have a directory eigen in /home/sam/code/ros/sam_perception/sam_recognition/. I believe it should not be there. In fuerte there is no package eigen anymore. Also, there is a subdirectory bullet in eigen that should definitely not be there.

Lorenz gravatar image Lorenz  ( 2012-08-10 00:58:32 -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-08-10 00:05:33 -0500

Seen: 319 times

Last updated: Aug 10 '12