stdint.h not available in ZAP


mak237

Recommended Posts

I am currently trying to get the Papilio One 500k to communicate with ROS on my computer. I have installed the ROS libraries onto my computer and get a number of errors when compiling. Most of these stem from the fact that ZAP does not include the stdint.h that the ROS libraries are attempting to access. Do we have an equivalent of stdint.h I can direct it to or will I have to modify ZAP IDE to accomodate these requirements?

 

While testing I copied the stdint.h file into the ZAP IDE folders and some of the error messages disappeared, but others persisted due to what likely is a compatability issue.

 

Edit 1:

 

The error messages I am getting with no modifications to ZAP are below:

In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:38,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:4:20: stdint.h: No such file or directoryIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:38,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h: In member function `virtual int std_msgs::Time::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:37: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:37: error: (Each undeclared identifier is reported only once for each function it appears in.)/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:56:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:39,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:15: error: `uint16_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:19: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: In member function `virtual int rosserial_msgs::TopicInfo::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:31: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:32: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:33: error: 'const class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:34: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:34: error: expected `;' before "length_topic_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:35: error: `length_topic_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:39: error: expected `;' before "length_message_type"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:40: error: `length_message_type' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:44: error: expected `;' before "length_md5sum"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:45: error: `length_md5sum' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:50: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:51: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:53: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:53: error: 'const class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:54: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:55: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:56: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:57: error: 'union rosserial_msgs::TopicInfo::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:58: error: 'const class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h: In member function `virtual int rosserial_msgs::TopicInfo::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:65: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:65: error: `uint16_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:66: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:67: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:68: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:68: error: expected `;' before "length_topic_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:69: error: `length_topic_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:77: error: expected `;' before "length_message_type"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:78: error: `length_message_type' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:86: error: expected `;' before "length_md5sum"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:87: error: `length_md5sum' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:96: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:97: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:99: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:100: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:101: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:102: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:103: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:104: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:104: error: 'union rosserial_msgs::TopicInfo::deserialize(unsigned char*)::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:105: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:39,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/TopicInfo.h:115:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:40,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:15: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: In member function `virtual int rosserial_msgs::Log::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:26: error: 'const class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:27: error: 'const class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:28: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:28: error: expected `;' before "length_msg"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:29: error: `length_msg' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h: In member function `virtual int rosserial_msgs::Log::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:39: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:39: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:40: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:41: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:41: error: expected `;' before "length_msg"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:42: error: `length_msg' undeclared (first use this function)In file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:40,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/Log.h:59:7: warning: no newline at end of fileIn file included from /home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:41,                 from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamRequest::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:21: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:21: error: expected `;' before "length_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:22: error: `length_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamRequest::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:32: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:32: error: expected `;' before "length_name"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:33: error: `length_name' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: At global scope:/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:52: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:53: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:54: error: ISO C++ forbids declaration of `int32_t' with no type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:54: error: expected `;' before '*' token/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:55: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:58: error: `uint8_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:65: error: `ints_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:69: error: `i' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:71: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:72: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:74: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:74: error: 'const class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:75: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:76: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:77: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:78: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:79: error: 'const class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:81: error: `floats_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:85: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:88: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:91: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:92: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:93: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:94: error: 'union rosserial_msgs::RequestParamResponse::serialize(unsigned char*) const::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:97: error: `strings_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:101: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:102: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:102: error: expected `;' before "length_stringsi"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:103: error: `length_stringsi' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h: In member function `virtual int rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:114: error: `uint8_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:114: error: expected `;' before "ints_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:115: error: `ints_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:115: error: `ints_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: `int32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: expected primary-expression before ')' token/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:116: error: expected `;' before "realloc"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:119: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:119: error: `i' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:121: error: `int32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:122: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:124: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:125: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:125: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:126: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:127: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:128: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:129: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:129: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'real'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:130: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:131: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:131: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'st_ints'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:133: error: expected `;' before "floats_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:134: error: `floats_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:134: error: `floats_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:138: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:141: error: `uint32_t' does not name a type/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:143: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:144: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:145: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:146: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:147: error: 'union rosserial_msgs::RequestParamResponse::deserialize(unsigned char*)::<anonymous>' has no member named 'base'/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:152: error: expected `;' before "strings_lengthT"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:153: error: `strings_lengthT' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:153: error: `strings_length' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:157: error: expected `;' before "i"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:158: error: expected `;' before "length_st_strings"/home/mower/sketchbook/libraries/ros_lib/rosserial_msgs/RequestParam.h:159: error: `length_st_strings' undeclared (first use this function)In file included from /home/mower/sketchbook/libraries/ros_lib/ros.h:38,                 from HelloWorld.pde:6:/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In constructor `ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::NodeHandle_()':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:133: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:134: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:135: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'floats_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:137: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:138: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::negotiateTopics()':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:393: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:397: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:405: error: 'class rosserial_msgs::TopicInfo' has no member named 'topic_id'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:409: error: 'class rosserial_msgs::TopicInfo' has no member named 'buffer_size'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::log(char, const char*)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:456: error: 'class rosserial_msgs::Log' has no member named 'level'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, int*, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:502: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:505: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'ints'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, float*, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:513: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'floats_length'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `bool ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::getParam(const char*, char**, int)':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:524: error: 'class rosserial_msgs::RequestParamResponse' has no member named 'strings_length'In file included from HelloWorld.pde:7:/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h: In member function `virtual int std_msgs::String::serialize(unsigned char*) const':/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:20: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:20: error: expected `;' before "length_data"/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:21: error: `length_data' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h: In member function `virtual int std_msgs::String::deserialize(unsigned char*)':/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:31: error: `uint32_t' undeclared (first use this function)/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:31: error: expected `;' before "length_data"/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:32: error: `length_data' undeclared (first use this function)In file included from HelloWorld.pde:7:/home/mower/sketchbook/libraries/ros_lib/std_msgs/String.h:49:7: warning: no newline at end of file/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h: In member function `int ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::publish(int, const ros::Msg*) [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]':/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:292:   instantiated from `void ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::requestSyncTime() [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]'/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:222:   instantiated from `int ros::NodeHandle_<Hardware, MAX_SUBSCRIBERS, MAX_PUBLISHERS, INPUT_SIZE, OUTPUT_SIZE>::spinOnce() [with Hardware = ArduinoHardware, int MAX_SUBSCRIBERS = 25, int MAX_PUBLISHERS = 25, int INPUT_SIZE = 512, int OUTPUT_SIZE = 512]'HelloWorld.pde:26:   instantiated from here/home/mower/sketchbook/libraries/ros_lib/ros/node_handle.h:435: warning: comparison between signed and unsigned integer expressions

The majority of the errors stem from the line:

/home/mower/sketchbook/libraries/ros_lib/std_msgs/Time.h:4:20: stdint.h: No such file or directory

Edit 2: When I added #include <zpuino-types.h> many of the errors went away, but I am still seeing a number of other errors

 

Edit 3: In the short term directly Papilio communication with ROS looks unlikely due to it requiring extensive modifications to either the ROS Serial libraries or the ZAP IDE.Until I am able to find a way to get the Papilio to communicate with the ROS Serial libraries I am going to try to exchange messages between the Papilio and an Arduino and have the Arduino communicate with ROS.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.