{"action":"created","issue":{"url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/89","repository_url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator","labels_url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/89/comments","events_url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/89/events","html_url":"https://github.com/RethinkRobotics/baxter_simulator/issues/89","id":184726880,"number":89,"title":"Unable to install baxter simulator. Ros: Indigo OS: Ubuntu 14:04","user":{"login":"mjm522","id":15670626,"avatar_url":"https://avatars.githubusercontent.com/u/15670626?v=3","gravatar_id":"","url":"https://api.github.com/users/mjm522","html_url":"https://github.com/mjm522","followers_url":"https://api.github.com/users/mjm522/followers","following_url":"https://api.github.com/users/mjm522/following{/other_user}","gists_url":"https://api.github.com/users/mjm522/gists{/gist_id}","starred_url":"https://api.github.com/users/mjm522/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mjm522/subscriptions","organizations_url":"https://api.github.com/users/mjm522/orgs","repos_url":"https://api.github.com/users/mjm522/repos","events_url":"https://api.github.com/users/mjm522/events{/privacy}","received_events_url":"https://api.github.com/users/mjm522/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-10-24T00:24:56Z","updated_at":"2016-10-24T14:24:14Z","closed_at":null,"body":"I tried installing baxter simulator several times, but keep getting this error always. I tried deleting the devel folder and started from the beginning, but with no progress. Can anybody please tell me what I doing wrong? \r\n\r\n`/usr/local/include/urdf_model/types.h:62:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(JointMimic);\r\n ^\r\n/usr/local/include/urdf_model/types.h:62:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(JointMimic);\r\n ^\r\n/usr/local/include/urdf_model/types.h:63:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(JointSafety);\r\n ^\r\n/usr/local/include/urdf_model/types.h:63:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(JointSafety);\r\n ^\r\n/usr/local/include/urdf_model/types.h:63:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(JointSafety);\r\n ^\r\n/usr/local/include/urdf_model/types.h:64:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Link);\r\n ^\r\n/usr/local/include/urdf_model/types.h:64:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Link);\r\n ^\r\n/usr/local/include/urdf_model/types.h:64:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Link);\r\n ^\r\n/usr/local/include/urdf_model/types.h:65:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Material);\r\n ^\r\n/usr/local/include/urdf_model/types.h:65:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Material);\r\n ^\r\n/usr/local/include/urdf_model/types.h:65:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Material);\r\n ^\r\n/usr/local/include/urdf_model/types.h:66:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Mesh);\r\n ^\r\n/usr/local/include/urdf_model/types.h:66:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Mesh);\r\n ^\r\n/usr/local/include/urdf_model/types.h:66:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Mesh);\r\n ^\r\n/usr/local/include/urdf_model/types.h:67:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Sphere);\r\n ^\r\n/usr/local/include/urdf_model/types.h:67:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Sphere);\r\n ^\r\n/usr/local/include/urdf_model/types.h:67:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Sphere);\r\n ^\r\n/usr/local/include/urdf_model/types.h:68:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Visual);\r\n ^\r\n/usr/local/include/urdf_model/types.h:68:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Visual);\r\n ^\r\n/usr/local/include/urdf_model/types.h:68:1: error: ‘weak_ptr’ in namespace ‘std’ does not name a type\r\n URDF_TYPEDEF_CLASS_POINTER(Visual);\r\n ^\r\n/usr/local/include/urdf_model/types.h:72:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n std::shared_ptr<T> const_pointer_cast(std::shared_ptr<U> const & r)\r\n ^\r\n/usr/local/include/urdf_model/types.h:78:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n std::shared_ptr<T> dynamic_pointer_cast(std::shared_ptr<U> const & r)\r\n ^\r\n/usr/local/include/urdf_model/types.h:84:1: error: ‘shared_ptr’ in namespace ‘std’ does not name a type\r\n std::shared_ptr<T> static_pointer_cast(std::shared_ptr<U> const & r)\r\n ^\r\nIn file included from /usr/local/include/urdf_model/link.h:44:0,\r\n                 from /usr/local/include/urdf_model/model.h:42,\r\n                 from /opt/ros/indigo/include/urdf/model.h:42,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/joint.h:141:3: error: ‘DoubleSharedPtr’ does not name a type\r\n   DoubleSharedPtr rising, falling;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h:199:3: error: ‘JointDynamicsSharedPtr’ does not name a type\r\n   JointDynamicsSharedPtr dynamics;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h:202:3: error: ‘JointLimitsSharedPtr’ does not name a type\r\n   JointLimitsSharedPtr limits;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h:205:3: error: ‘JointSafetySharedPtr’ does not name a type\r\n   JointSafetySharedPtr safety;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h:208:3: error: ‘JointCalibrationSharedPtr’ does not name a type\r\n   JointCalibrationSharedPtr calibration;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h:211:3: error: ‘JointMimicSharedPtr’ does not name a type\r\n   JointMimicSharedPtr mimic;\r\n   ^\r\n/usr/local/include/urdf_model/joint.h: In member function ‘void urdf::Joint::clear()’:\r\n/usr/local/include/urdf_model/joint.h:219:11: error: ‘class urdf::Joint’ has no member named ‘dynamics’\r\n     this->dynamics.reset();\r\n           ^\r\n/usr/local/include/urdf_model/joint.h:220:11: error: ‘class urdf::Joint’ has no member named ‘limits’\r\n     this->limits.reset();\r\n           ^\r\n/usr/local/include/urdf_model/joint.h:221:11: error: ‘class urdf::Joint’ has no member named ‘safety’\r\n     this->safety.reset();\r\n           ^\r\n/usr/local/include/urdf_model/joint.h:222:11: error: ‘class urdf::Joint’ has no member named ‘calibration’\r\n     this->calibration.reset();\r\n           ^\r\n/usr/local/include/urdf_model/joint.h:223:11: error: ‘class urdf::Joint’ has no member named ‘mimic’\r\n     this->mimic.reset();\r\n           ^\r\nIn file included from /usr/local/include/urdf_model/link.h:45:0,\r\n                 from /usr/local/include/urdf_model/model.h:42,\r\n                 from /opt/ros/indigo/include/urdf/model.h:42,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/color.h: In member function ‘bool urdf::Color::init(const string&)’:\r\n/usr/local/include/urdf_model/color.h:76:26: error: ‘stof’ is not a member of ‘std’\r\n           rgba.push_back(std::stof(pieces[i]));\r\n                          ^\r\nIn file included from /usr/local/include/urdf_model/model.h:42:0,\r\n                 from /opt/ros/indigo/include/urdf/model.h:42,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/link.h: At global scope:\r\n/usr/local/include/urdf_model/link.h:152:3: error: ‘GeometrySharedPtr’ does not name a type\r\n   GeometrySharedPtr geometry;\r\n   ^\r\n/usr/local/include/urdf_model/link.h:155:3: error: ‘MaterialSharedPtr’ does not name a type\r\n   MaterialSharedPtr material;\r\n   ^\r\n/usr/local/include/urdf_model/link.h: In member function ‘void urdf::Visual::clear()’:\r\n/usr/local/include/urdf_model/link.h:161:5: error: ‘material’ was not declared in this scope\r\n     material.reset();\r\n     ^\r\n/usr/local/include/urdf_model/link.h:162:5: error: ‘geometry’ was not declared in this scope\r\n     geometry.reset();\r\n     ^\r\n/usr/local/include/urdf_model/link.h: At global scope:\r\n/usr/local/include/urdf_model/link.h:174:3: error: ‘GeometrySharedPtr’ does not name a type\r\n   GeometrySharedPtr geometry;\r\n   ^\r\n/usr/local/include/urdf_model/link.h: In member function ‘void urdf::Collision::clear()’:\r\n/usr/local/include/urdf_model/link.h:179:5: error: ‘geometry’ was not declared in this scope\r\n     geometry.reset();\r\n     ^\r\n/usr/local/include/urdf_model/link.h: At global scope:\r\n/usr/local/include/urdf_model/link.h:196:3: error: ‘InertialSharedPtr’ does not name a type\r\n   InertialSharedPtr inertial;\r\n   ^\r\n/usr/local/include/urdf_model/link.h:199:3: error: ‘VisualSharedPtr’ does not name a type\r\n   VisualSharedPtr visual;\r\n   ^\r\n/usr/local/include/urdf_model/link.h:202:3: error: ‘CollisionSharedPtr’ does not name a type\r\n   CollisionSharedPtr collision;\r\n   ^\r\nIn file included from /usr/local/include/urdf_model/model.h:42:0,\r\n                 from /opt/ros/indigo/include/urdf/model.h:42,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/link.h:205:15: error: ‘CollisionSharedPtr’ was not declared in this scope\r\n   std::vector<CollisionSharedPtr> collision_array;\r\n               ^\r\n/usr/local/include/urdf_model/link.h:205:33: error: template argument 1 is invalid\r\n   std::vector<CollisionSharedPtr> collision_array;\r\n                                 ^\r\n/usr/local/include/urdf_model/link.h:205:33: error: template argument 2 is invalid\r\n/usr/local/include/urdf_model/link.h:208:15: error: ‘VisualSharedPtr’ was not declared in this scope\r\n   std::vector<VisualSharedPtr> visual_array;\r\n               ^\r\n/usr/local/include/urdf_model/link.h:208:30: error: template argument 1 is invalid\r\n   std::vector<VisualSharedPtr> visual_array;\r\n                              ^\r\n/usr/local/include/urdf_model/link.h:208:30: error: template argument 2 is invalid\r\n/usr/local/include/urdf_model/link.h:213:3: error: ‘JointSharedPtr’ does not name a type\r\n   JointSharedPtr parent_joint;\r\n   ^\r\n/usr/local/include/urdf_model/link.h:215:15: error: ‘JointSharedPtr’ was not declared in this scope\r\n   std::vector<JointSharedPtr> child_joints;\r\n               ^\r\n/usr/local/include/urdf_model/link.h:215:29: error: template argument 1 is invalid\r\n   std::vector<JointSharedPtr> child_joints;\r\n                             ^\r\n/usr/local/include/urdf_model/link.h:215:29: error: template argument 2 is invalid\r\n/usr/local/include/urdf_model/link.h:216:15: error: ‘LinkSharedPtr’ was not declared in this scope\r\n   std::vector<LinkSharedPtr> child_links;\r\n               ^\r\n/usr/local/include/urdf_model/link.h:216:28: error: template argument 1 is invalid\r\n   std::vector<LinkSharedPtr> child_links;\r\n                            ^\r\n/usr/local/include/urdf_model/link.h:216:28: error: template argument 2 is invalid\r\n/usr/local/include/urdf_model/link.h:218:3: error: ‘LinkSharedPtr’ does not name a type\r\n   LinkSharedPtr getParent() const\r\n   ^\r\n/usr/local/include/urdf_model/link.h:221:24: error: ‘LinkSharedPtr’ does not name a type\r\n   void setParent(const LinkSharedPtr &parent)\r\n                        ^\r\n/usr/local/include/urdf_model/link.h:238:3: error: ‘LinkWeakPtr’ does not name a type\r\n   LinkWeakPtr parent_link_;\r\n   ^\r\n/usr/local/include/urdf_model/link.h: In member function ‘void urdf::Link::setParent(const int&)’:\r\n/usr/local/include/urdf_model/link.h:222:5: error: ‘parent_link_’ was not declared in this scope\r\n   { parent_link_ = parent; }\r\n     ^\r\n/usr/local/include/urdf_model/link.h: In member function ‘void urdf::Link::clear()’:\r\n/usr/local/include/urdf_model/link.h:227:11: error: ‘class urdf::Link’ has no member named ‘inertial’\r\n     this->inertial.reset();\r\n           ^\r\n/usr/local/include/urdf_model/link.h:228:11: error: ‘class urdf::Link’ has no member named ‘visual’\r\n     this->visual.reset();\r\n           ^\r\n/usr/local/include/urdf_model/link.h:229:11: error: ‘class urdf::Link’ has no member named ‘collision’\r\n     this->collision.reset();\r\n           ^\r\n/usr/local/include/urdf_model/link.h:230:11: error: ‘class urdf::Link’ has no member named ‘parent_joint’\r\n     this->parent_joint.reset();\r\n           ^\r\n/usr/local/include/urdf_model/link.h:231:24: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::child_joints’, which is of non-class type ‘int’\r\n     this->child_joints.clear();\r\n                        ^\r\n/usr/local/include/urdf_model/link.h:232:23: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::child_links’, which is of non-class type ‘int’\r\n     this->child_links.clear();\r\n                       ^\r\n/usr/local/include/urdf_model/link.h:233:27: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::collision_array’, which is of non-class type ‘int’\r\n     this->collision_array.clear();\r\n                           ^\r\n/usr/local/include/urdf_model/link.h:234:24: error: request for member ‘clear’ in ‘((urdf::Link*)this)->urdf::Link::visual_array’, which is of non-class type ‘int’\r\n     this->visual_array.clear();\r\n                        ^\r\nIn file included from /opt/ros/indigo/include/urdf/model.h:42:0,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/model.h: At global scope:\r\n/usr/local/include/urdf_model/model.h:51:3: error: ‘LinkConstSharedPtr’ does not name a type\r\n   LinkConstSharedPtr getRoot(void) const{return this->root_link_;};\r\n   ^\r\n/usr/local/include/urdf_model/model.h:52:3: error: ‘LinkConstSharedPtr’ does not name a type\r\n   LinkConstSharedPtr getLink(const std::string& name) const\r\n   ^\r\n/usr/local/include/urdf_model/model.h:62:3: error: ‘JointConstSharedPtr’ does not name a type\r\n   JointConstSharedPtr getJoint(const std::string& name) const\r\n   ^\r\n/usr/local/include/urdf_model/model.h:74:29: error: ‘LinkSharedPtr’ was not declared in this scope\r\n   void getLinks(std::vector<LinkSharedPtr >& links) const\r\n                             ^\r\n/usr/local/include/urdf_model/model.h:74:43: error: template argument 1 is invalid\r\n   void getLinks(std::vector<LinkSharedPtr >& links) const\r\n                                           ^\r\n/usr/local/include/urdf_model/model.h:74:43: error: template argument 2 is invalid\r\n/usr/local/include/urdf_model/model.h:92:41: error: ‘LinkSharedPtr’ has not been declared\r\n   void getLink(const std::string& name, LinkSharedPtr &link) const\r\n                                         ^\r\n/usr/local/include/urdf_model/model.h:103:3: error: ‘MaterialSharedPtr’ does not name a type\r\n   MaterialSharedPtr getMaterial(const std::string& name) const\r\n   ^\r\nIn file included from /opt/ros/indigo/include/urdf/model.h:42:0,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/model.h:188:25: error: ‘LinkSharedPtr’ was not declared in this scope\r\n   std::map<std::string, LinkSharedPtr> links_;\r\n                         ^\r\n/usr/local/include/urdf_model/model.h:188:38: error: template argument 2 is invalid\r\n   std::map<std::string, LinkSharedPtr> links_;\r\n                                      ^\r\n/usr/local/include/urdf_model/model.h:188:38: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:190:25: error: ‘JointSharedPtr’ was not declared in this scope\r\n   std::map<std::string, JointSharedPtr> joints_;\r\n                         ^\r\n/usr/local/include/urdf_model/model.h:190:39: error: template argument 2 is invalid\r\n   std::map<std::string, JointSharedPtr> joints_;\r\n                                       ^\r\n/usr/local/include/urdf_model/model.h:190:39: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:192:25: error: ‘MaterialSharedPtr’ was not declared in this scope\r\n   std::map<std::string, MaterialSharedPtr> materials_;\r\n                         ^\r\n/usr/local/include/urdf_model/model.h:192:42: error: template argument 2 is invalid\r\n   std::map<std::string, MaterialSharedPtr> materials_;\r\n                                          ^\r\n/usr/local/include/urdf_model/model.h:192:42: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:198:3: error: ‘LinkSharedPtr’ does not name a type\r\n   LinkSharedPtr root_link_;\r\n   ^\r\nIn file included from /opt/ros/indigo/include/urdf/model.h:42:0,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::getLinks(int&) const’:\r\n/usr/local/include/urdf_model/model.h:76:31: error: ‘LinkSharedPtr’ was not declared in this scope\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                               ^\r\n/usr/local/include/urdf_model/model.h:76:44: error: template argument 2 is invalid\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                            ^\r\n/usr/local/include/urdf_model/model.h:76:44: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:76:62: error: invalid type in declaration before ‘link’\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                              ^\r\n/usr/local/include/urdf_model/model.h:76:62: error: expected ‘;’ before ‘link’\r\n/usr/local/include/urdf_model/model.h:76:82: error: request for member ‘begin’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                                                  ^\r\n/usr/local/include/urdf_model/model.h:76:111: error: request for member ‘end’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                                                                               ^\r\n/usr/local/include/urdf_model/model.h:76:116: error: expected ‘)’ before ‘;’ token\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                                                                                    ^\r\n/usr/local/include/urdf_model/model.h:76:122: error: ISO C++ forbids incrementing a pointer of type ‘int (*)(const char*, const char*)throw ()’ [-fpermissive]\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                                                                                          ^\r\n/usr/local/include/urdf_model/model.h:76:122: error: lvalue required as increment operand\r\n/usr/local/include/urdf_model/model.h:76:124: error: expected ‘;’ before ‘)’ token\r\n     for (std::map<std::string,LinkSharedPtr>::const_iterator link = this->links_.begin();link != this->links_.end(); link++)\r\n                                                                                                                            ^\r\n/usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::clear()’:\r\n/usr/local/include/urdf_model/model.h:85:18: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’\r\n     this->links_.clear();\r\n                  ^\r\n/usr/local/include/urdf_model/model.h:86:19: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’\r\n     this->joints_.clear();\r\n                   ^\r\n/usr/local/include/urdf_model/model.h:87:22: error: request for member ‘clear’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::materials_’, which is of non-class type ‘int’\r\n     this->materials_.clear();\r\n                      ^\r\n/usr/local/include/urdf_model/model.h:88:11: error: ‘class urdf::ModelInterface’ has no member named ‘root_link_’\r\n     this->root_link_.reset();\r\n           ^\r\n/usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::getLink(const string&, int&) const’:\r\n/usr/local/include/urdf_model/model.h:94:5: error: ‘LinkSharedPtr’ was not declared in this scope\r\n     LinkSharedPtr ptr;\r\n     ^\r\n/usr/local/include/urdf_model/model.h:94:19: error: expected ‘;’ before ‘ptr’\r\n     LinkSharedPtr ptr;\r\n                   ^\r\n/usr/local/include/urdf_model/model.h:95:22: error: request for member ‘find’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’\r\n     if (this->links_.find(name) == this->links_.end())\r\n                      ^\r\n/usr/local/include/urdf_model/model.h:95:49: error: request for member ‘end’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’\r\n     if (this->links_.find(name) == this->links_.end())\r\n                                                 ^\r\n/usr/local/include/urdf_model/model.h:96:7: error: ‘ptr’ was not declared in this scope\r\n       ptr.reset();\r\n       ^\r\n/usr/local/include/urdf_model/model.h:98:7: error: ‘ptr’ was not declared in this scope\r\n       ptr = this->links_.find(name)->second;\r\n       ^\r\n/usr/local/include/urdf_model/model.h:98:26: error: request for member ‘find’ in ‘((const urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘const int’\r\n       ptr = this->links_.find(name)->second;\r\n                          ^\r\n/usr/local/include/urdf_model/model.h:99:12: error: ‘ptr’ was not declared in this scope\r\n     link = ptr;\r\n            ^\r\n/usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::initTree(std::map<std::basic_string<char>, std::basic_string<char> >&)’:\r\n/usr/local/include/urdf_model/model.h:116:32: error: ‘JointSharedPtr’ was not declared in this scope\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                ^\r\n/usr/local/include/urdf_model/model.h:116:46: error: template argument 2 is invalid\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                              ^\r\n/usr/local/include/urdf_model/model.h:116:46: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:116:58: error: invalid type in declaration before ‘joint’\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                          ^\r\n/usr/local/include/urdf_model/model.h:116:58: error: expected ‘;’ before ‘joint’\r\n/usr/local/include/urdf_model/model.h:116:58: error: ‘joint’ was not declared in this scope\r\n/usr/local/include/urdf_model/model.h:116:80: error: request for member ‘begin’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                                                ^\r\n/usr/local/include/urdf_model/model.h:116:111: error: request for member ‘end’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::joints_’, which is of non-class type ‘int’\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                                                                               ^\r\n/usr/local/include/urdf_model/model.h:116:116: error: expected ‘)’ before ‘;’ token\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                                                                                    ^\r\n/usr/local/include/urdf_model/model.h:116:118: error: ‘joint’ was not declared in this scope\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                                                                                      ^\r\n/usr/local/include/urdf_model/model.h:116:125: error: expected ‘;’ before ‘)’ token\r\n     for (std::map<std::string, JointSharedPtr>::iterator joint = this->joints_.begin();joint != this->joints_.end(); joint++)\r\n                                                                                                                             ^\r\nIn file included from /opt/ros/indigo/include/urdf/model.h:42:0,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/robot_hw_sim.h:49,\r\n                 from /opt/ros/indigo/include/gazebo_ros_control/gazebo_ros_control_plugin.h:57,\r\n                 from /home/mjm/baxter_ws/src/baxter_simulator/baxter_gazebo/src/baxter_gazebo_ros_control_plugin.cpp:42:\r\n/usr/local/include/urdf_model/model.h:156:3: error: expected ‘}’ at end of input\r\n   }\r\n   ^\r\n/usr/local/include/urdf_model/model.h: In member function ‘void urdf::ModelInterface::initRoot(const std::map<std::basic_string<char>, std::basic_string<char> >&)’:\r\n/usr/local/include/urdf_model/model.h:160:11: error: ‘class urdf::ModelInterface’ has no member named ‘root_link_’\r\n     this->root_link_.reset();\r\n           ^\r\n/usr/local/include/urdf_model/model.h:163:32: error: ‘LinkSharedPtr’ was not declared in this scope\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                ^\r\n/usr/local/include/urdf_model/model.h:163:45: error: template argument 2 is invalid\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                             ^\r\n/usr/local/include/urdf_model/model.h:163:45: error: template argument 4 is invalid\r\n/usr/local/include/urdf_model/model.h:163:63: error: invalid type in declaration before ‘l’\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                               ^\r\n/usr/local/include/urdf_model/model.h:163:63: error: expected ‘;’ before ‘l’\r\n/usr/local/include/urdf_model/model.h:163:63: error: ‘l’ was not declared in this scope\r\n/usr/local/include/urdf_model/model.h:163:78: error: request for member ‘begin’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                                              ^\r\n/usr/local/include/urdf_model/model.h:163:103: error: request for member ‘end’ in ‘((urdf::ModelInterface*)this)->urdf::ModelInterface::links_’, which is of non-class type ‘int’\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                                                                       ^\r\n/usr/local/include/urdf_model/model.h:163:108: error: expected ‘)’ before ‘;’ token\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                                                                            ^\r\n/usr/local/include/urdf_model/model.h:163:110: error: ‘l’ was not declared in this scope\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                                                                              ^\r\n/usr/local/include/urdf_model/model.h:163:113: error: expected ‘;’ before ‘)’ token\r\n     for (std::map<std::string, LinkSharedPtr>::const_iterator l=this->links_.begin(); l!=this->links_.end(); l++)\r\n                                                                                                                 ^\r\n/usr/local/include/urdf_model/model.h:184:3: error: expected ‘}’ at end of input\r\n   }\r\n   ^\r\nLinking CXX executable /home/mjm/baxter_ws/devel/lib/baxter_sim_io/baxter_sim_io\r\n[ 97%] Built target baxter_sim_io\r\nmake[2]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/src/baxter_gazebo_ros_control_plugin.cpp.o] Error 1\r\nmake[1]: *** [baxter_simulator/baxter_gazebo/CMakeFiles/baxter_gazebo_ros_control.dir/all] Error 2\r\nmake: *** [all] Error 2\r\nInvoking \"make -j8 -l8\" failed\r\n`"},"comment":{"url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/comments/255755020","html_url":"https://github.com/RethinkRobotics/baxter_simulator/issues/89#issuecomment-255755020","issue_url":"https://api.github.com/repos/RethinkRobotics/baxter_simulator/issues/89","id":255755020,"user":{"login":"knorth55","id":9300063,"avatar_url":"https://avatars.githubusercontent.com/u/9300063?v=3","gravatar_id":"","url":"https://api.github.com/users/knorth55","html_url":"https://github.com/knorth55","followers_url":"https://api.github.com/users/knorth55/followers","following_url":"https://api.github.com/users/knorth55/following{/other_user}","gists_url":"https://api.github.com/users/knorth55/gists{/gist_id}","starred_url":"https://api.github.com/users/knorth55/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knorth55/subscriptions","organizations_url":"https://api.github.com/users/knorth55/orgs","repos_url":"https://api.github.com/users/knorth55/repos","events_url":"https://api.github.com/users/knorth55/events{/privacy}","received_events_url":"https://api.github.com/users/knorth55/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T14:24:14Z","updated_at":"2016-10-24T14:24:14Z","body":"@mjm522 \r\naccording to these FAQ, it seems urdf header file problem.\r\ncan you check liburdfdom-headers-dev version?\r\n\r\nhttp://answers.ros.org/question/243756/ros-indigo-install-on-rpi3-urdf-compile-errors/\r\nhttps://github.com/ros/urdfdom_headers/releases/tag/1.0.0\r\n```\r\n$ dpkg --status liburdfdom-headers-dev\r\nPackage: liburdfdom-headers-dev\r\nStatus: install ok installed\r\nPriority: extra\r\nSection: libdevel\r\nInstalled-Size: 115\r\nMaintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>\r\nArchitecture: all\r\nMulti-Arch: foreign\r\nSource: urdfdom-headers\r\nVersion: 0.2.3+dfsg-1\r\nDepends: pkg-config\r\nDescription: URDF DOM - header files\r\n The URDF (U-Robot Description Format) library provides core data\r\n structures and a simple XML parsers for populating the class data\r\n structures from an URDF file.\r\n .\r\n This package contains the headers files.\r\nOriginal-Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>\r\n\r\n```\r\n"}}
{"actor":{"display_login":"knorth55"}}