Receiving Arduino compile error involving ros/duration.h
Update: Issue solved by moving row.h include to the top.
I am receiving this compile error from the Arduino IDE while compiling my rosserial pub and sub test using a new message type.
In file included from /Users/brianunderhill/thumper/libraries/roslib/ros/time.h:38, from /Users/brianunderhill/thumper/libraries/roslib/stdmsgs/Time.h:8, from /Users/brianunderhill/thumper/libraries/roslib/ros/nodehandle.h:38, from /Users/brianunderhill/thumper/libraries/roslib/ros.h:38, from RosController.cpp:3: /Users/brianunderhill/thumper/libraries/ros_lib/ros/duration.h:55: error: expected ',' or '...' before numeric constant
I can successfully compile all of the rosserial examples but my test sketch fails as shown.
This is Arduino 1.0 with rosserial Fuerte compiling for a Atmega168.
The header file for my message was generated using the same process used in the rosserial tutorial and was successful.
My previous experience with Arduino is that this type of error is related to some missing bit of configuration and the indicated error is misleading and not the root cause.
Asked by bunderhi on 2012-07-11 05:40:17 UTC
Comments