error: ‘__s_getMD5Sum’ is not a member
I keep getting this error while porting old code to adjust to the current ROS. Any idea to workaround would be appreciated. Let me notice that I'm not that familiar with boost::bind yet, and I'm asking at this forum because I wonder if this is either bind question, ROS' or else.
Extracted code:
class CS {
private:
ros::NodeHandle *ros_node_;
void bvmHandler(void *flag) {
*(bool *) flag = true;
}
void funcB() {
ros_node_->subscribe("topic", //
1000, //
&CS::bvmHandler, // <----- line #431
this);
}
};
Error:
CS.cpp:431: instantiated from here
/opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121: error: ‘__s_getMD5Sum’ is not a member of ‘void*’
Environment: Ubuntu 10.10, ROS Electric
Update 10/5/2011) Thanks to @Eric Perko, I modified the code to workaround (at least compile moves on to the next phase):
#include "std_msgs/Bool.h"
void bvmHandler(std_msgs::BoolConstPtr *flag)