ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I didn't find any ros_lib folder as mentioned in above answers. But fixed it.
the problem is in your ros/msg.h file #include <cstring>
no longer works, replace it with #include <string.h>
and the std::memcpy()
finction is not a part of std anymore, so change it to memcpy()
.
Summary: (Changes) File - ros/msg.h
#include <cstring>
to #include <string.h>
std::memcpy()
to memcpy()
And it will work!
2 | No.2 Revision |
I didn't find any ros_lib folder as mentioned in above answers. But fixed it.
the problem is in your ros/msg.h file #include <cstring>
no longer works, replace it with #include <string.h>
and the std::memcpy()
finction function is not a part of std anymore, so change it to memcpy()
.
Summary: (Changes) File - ros/msg.h
#include <cstring>
to #include <string.h>
std::memcpy()
to memcpy()
And it will work!