I get with Buildbot and with Travis the following error:
In file included from /opt/ros/indigo/include/ros/serialization.h:37:0,
from /opt/ros/indigo/include/ros/publisher.h:34,
from /opt/ros/indigo/include/ros/node_handle.h:32,
from /opt/ros/indigo/include/ros/ros.h:45,
from /tmp/squirrel_perception_indigo_prtestbuild/src/squirrel_perception/squirrel_object_perception/src/squirrel_look_for_objects_in_hand.cpp:1:
/opt/ros/indigo/include/ros/message_traits.h: In instantiation of 'static const char* ros::message_traits::MD5Sum<M>::value(const M&) [with M = int]':
/opt/ros/indigo/include/ros/message_traits.h:255:104: required from 'const char* ros::message_traits::md5sum(const M&) [with M = int]'
/opt/ros/indigo/include/ros/publisher.h:112:7: required from 'void ros::Publisher::publish(const M&) const [with M = int]'
/tmp/squirrel_perception_indigo_prtestbuild/src/squirrel_perception/squirrel_object_perception/src/squirrel_look_for_objects_in_hand.cpp:362:28: required from here
/opt/ros/indigo/include/ros/message_traits.h:126:34: error: request for member '__getMD5Sum' in 'm', which is of non-class type 'const int'
return m.__getMD5Sum().c_str();
^
/opt/ros/indigo/include/ros/message_traits.h: In instantiation of 'static const char* ros::message_traits::DataType<M>::value(const M&) [with M = int]':
/opt/ros/indigo/include/ros/message_traits.h:264:106: required from 'const char* ros::message_traits::datatype(const M&) [with M = int]'
/opt/ros/indigo/include/ros/publisher.h:112:7: required from 'void ros::Publisher::publish(const M&) const [with M = int]'
/tmp/squirrel_perception_indigo_prtestbuild/src/squirrel_perception/squirrel_object_perception/src/squirrel_look_for_objects_in_hand.cpp:362:28: required from here
/opt/ros/indigo/include/ros/message_traits.h:143:36: error: request for member '__getDataType' in 'm', which is of non-class type 'const int'
return m.__getDataType().c_str();
^
make[2]: *** [squirrel_perception/squirrel_object_perception/CMakeFiles/squirrel_look_for_objects_in_hand.dir/src/squirrel_look_for_objects_in_hand.cpp.o] Error 1
make[1]: *** [squirrel_perception/squirrel_object_perception/CMakeFiles/squirrel_look_for_objects_in_hand.dir/all] Error 2
make: *** [all] Error 2
/!\ Failed to execute command "['make']" with return code 2
Traceback (most recent call last):
File "/runscript", line 327, in <module>
raise BuildException(str(e))
__main__.BuildException: BuildException: BuildException: Failed to execute command "['make']" with return code 2
I get with Buildbot and with Travis the following error: