Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 255

Problem with industrial_msgs/TriState.h

$
0
0
When I run catkin_make(I'm working with rqt). I get this: [ 97%] Building CXX object guiakomips3/CMakeFiles/guiakomips3.dir/include/guiakomips3/moc_akomips3.cxx.o In file included from /opt/ros/hydro/include/industrial_msgs/RobotStatus.h:53:0, from /home/ismael/catkin_workspace/src/guiakomips3/include/guiakomips3/akomips3.h:13, from /home/ismael/catkin_workspace/src/guiakomips3/src/guiakomips3/akomips3.cpp:1: /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected identifier before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected ‘}’ before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected unqualified-id before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected identifier before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected ‘}’ before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected unqualified-id before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:85:59: error: ‘ContainerAllocator’ was not declared in this scope /opt/ros/hydro/include/industrial_msgs/TriState.h:85:77: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:85:79: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:85:84: error: invalid type in declaration before ‘;’ token /opt/ros/hydro/include/industrial_msgs/TriState.h:86:59: error: ‘ContainerAllocator’ was not declared in this scope /opt/ros/hydro/include/industrial_msgs/TriState.h:86:77: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:86:84: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:86:94: error: invalid type in declaration before ‘;’ token /opt/ros/hydro/include/industrial_msgs/TriState.h:89:1: error: expected declaration before ‘}’ token make[2]: *** [guiakomips3/CMakeFiles/guiakomips3.dir/src/guiakomips3/akomips3.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /opt/ros/hydro/include/industrial_msgs/RobotStatus.h:53:0, from /home/ismael/catkin_workspace/build/guiakomips3/include/guiakomips3/../../../../src/guiakomips3/include/guiakomips3/akomips3.h:13, from /home/ismael/catkin_workspace/build/guiakomips3/include/guiakomips3/moc_akomips3.cxx:10: /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected identifier before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected ‘}’ before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:73:13: error: expected unqualified-id before ‘true’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected identifier before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected ‘}’ before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:78:13: error: expected unqualified-id before ‘false’ /opt/ros/hydro/include/industrial_msgs/TriState.h:85:59: error: ‘ContainerAllocator’ was not declared in this scope /opt/ros/hydro/include/industrial_msgs/TriState.h:85:77: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:85:79: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:85:84: error: invalid type in declaration before ‘;’ token /opt/ros/hydro/include/industrial_msgs/TriState.h:86:59: error: ‘ContainerAllocator’ was not declared in this scope /opt/ros/hydro/include/industrial_msgs/TriState.h:86:77: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:86:84: error: template argument 1 is invalid /opt/ros/hydro/include/industrial_msgs/TriState.h:86:94: error: invalid type in declaration before ‘;’ token /opt/ros/hydro/include/industrial_msgs/TriState.h:89:1: error: expected declaration before ‘}’ token make[2]: *** [guiakomips3/CMakeFiles/guiakomips3.dir/include/guiakomips3/moc_akomips3.cxx.o] Error 1 make[1]: *** [guiakomips3/CMakeFiles/guiakomips3.dir/all] Error 2 make: *** [all] Error 2 Invoking "make" failed So, what is the problem?, I just included the library "industrial_msgs/RobotStatus.h", and it shows this error. I tried updating industrial_msgs... akomips3.cpp #include "guiakomips3/akomips3.h" #include #include #include #include #include #include #include "ikfast_services/IK.h" #include "ikfast_services/FK.h" #include #include #include #include #include #include #include akomips3.h #ifndef guiakomips3__GUIPS3_H #define guiakomips3__GUIPS3_H #include #include #include #include #include #include #include #include #include #include #include #include "ikfast_services/IK.h" #include "ikfast_services/FK.h" #include #include #include #include #include #include

Viewing all articles
Browse latest Browse all 255

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>