ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I just created the following program:
#include <ros/ros.h>
#include <industrial_msgs/RobotStatus.h>
int main(int argc, char **argv)
{
return 0;
}
Building succeeded (standard CMakeLists.txt
, package.xml
declaring dependency on industrial_msgs
), no errors.
I'm suspecting some kind of conflict between the other includes in your header and cpp file, and the RobotStatus.h
header.
PS: any reason you have some double includes?
PPS: I assume there is a #endif
in akomips3.h
.
2 | No.2 Revision |
I just created the following program:
#include <ros/ros.h>
#include <industrial_msgs/RobotStatus.h>
int main(int argc, char **argv)
{
return 0;
}
Building succeeded (standard CMakeLists.txt
, package.xml
declaring dependency on industrial_msgs
), no errors.
I'm suspecting some kind of conflict between the other includes in your header and cpp file, and the RobotStatus.h
header.
PS: any reason you have some double includes?
includes?
PPS: I assume there is a #endif
in akomips3.h
.