[ros-users] having trouble on rosmake

Jeh-Sang Cho jehsangcho at gmail.com
Sun May 1 20:19:20 UTC 2011


Hi all, I'm having trouble using ROS and I would like to ask for help.
I'm trying to run "Humanoid Robot Control and Interaction" demo found on
ros.org. (wpi-ros-pkg created by H. Bener Suay)


H. Bener SUAY
When I try to "rosmake nao_openni --rosdep-install" I get the following
error messag:

##########################################################################################################################################################
[rosmake-0] Starting >>> nao_openni [ make
]

[ rosmake ] Last 40 lineso_openni: 2.0 sec
]
[ 1 Active 46/47 Complete ]
{-------------------------------------------------------------------------------
  In file included from /usr/include/openni/XnOpenNI.h:34,
                   from
/home/isnl/rospkgs/nao_openni/src/teleop_nao_ni.cpp:94:
  /usr/include/openni/XnUtils.h:84: warning: type qualifiers ignored on
function return type
  In file included from
/home/isnl/rospkgs/nao_openni/src/teleop_nao_ni.cpp:96:
  /usr/include/openni/XnCppWrapper.h: In constructor
'xn::OutputMetaData::OutputMetaData(const XnUInt8**)':
  /usr/include/openni/XnCppWrapper.h:214: warning:
'xn::OutputMetaData::m_nAllocatedSize' will be initialized after
  /usr/include/openni/XnCppWrapper.h:208: warning:   'XnUInt8*
xn::OutputMetaData::m_pAllocatedData'
  /usr/include/openni/XnCppWrapper.h:93: warning:   when initialized here
  /usr/include/openni/XnCppWrapper.h: In constructor
'xn::EnumerationErrors::EnumerationErrors()':
  /usr/include/openni/XnCppWrapper.h:4103: warning:
'xn::EnumerationErrors::m_bAllocated' will be initialized after
  /usr/include/openni/XnCppWrapper.h:4102: warning:   'XnEnumerationErrors*
xn::EnumerationErrors::m_pErrors'
  /usr/include/openni/XnCppWrapper.h:4003: warning:   when initialized here
  /usr/include/openni/XnCppWrapper.h: In constructor
'xn::EnumerationErrors::EnumerationErrors(XnEnumerationErrors*, XnBool)':
  /usr/include/openni/XnCppWrapper.h:4103: warning:
'xn::EnumerationErrors::m_bAllocated' will be initialized after
  /usr/include/openni/XnCppWrapper.h:4102: warning:   'XnEnumerationErrors*
xn::EnumerationErrors::m_pErrors'
  /usr/include/openni/XnCppWrapper.h:4011: warning:   when initialized here
  /usr/include/openni/XnCppWrapper.h: In member function 'XnStatus
xn::NodeInfo::GetInstance(xn::ProductionNode&) const':
  /usr/include/openni/XnCppWrapper.h:4612: warning: unused variable
'nRetVal'
  In file included from
/home/isnl/ros/ros_comm/clients/cpp/roscpp_serialization/include/ros/serialization.h:35,
                   from
/home/isnl/ros/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:34,
                   from
/home/isnl/ros/ros_comm/clients/cpp/roscpp/include/ros/node_handle.h:32,
                   from
/home/isnl/ros/ros_comm/clients/cpp/roscpp/include/ros/ros.h:45,
                   from
/home/isnl/rospkgs/nao_openni/src/teleop_nao_ni.cpp:80:

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:
In static member function 'static const char*
ros::message_traits::MD5Sum<M>::value(const M&) [with M =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:250:
instantiated from 'const char* ros::message_traits::md5sum(const M&) [with M
= std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
  /home/isnl/ros/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:
instantiated from 'void ros::Publisher::publish(const M&) const [with M =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
  /home/isnl/rospkgs/nao_openni/src/teleop_nao_ni.cpp:872:   instantiated
from here

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:121:
error: 'const struct std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' has no member named '__getMD5Sum'

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:
In static member function 'static const char*
ros::message_traits::DataType<M>::value(const M&) [with M =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]':

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:259:
instantiated from 'const char* ros::message_traits::datatype(const M&) [with
M = std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
  /home/isnl/ros/ros_comm/clients/cpp/roscpp/include/ros/publisher.h:111:
instantiated from 'void ros::Publisher::publish(const M&) const [with M =
std::basic_string<char, std::char_traits<char>, std::allocator<char> >]'
  /home/isnl/rospkgs/nao_openni/src/teleop_nao_ni.cpp:872:   instantiated
from here

/home/isnl/ros/ros_comm/clients/cpp/roscpp_traits/include/ros/message_traits.h:138:
error: 'const struct std::basic_string<char, std::char_traits<char>,
std::allocator<char> >' has no member named '__getDataType'
  make[3]: *** [CMakeFiles/teleop_nao_ni.dir/src/teleop_nao_ni.o] Error 1
  make[3]: Leaving directory `/home/isnl/rospkgs/nao_openni/build'
  make[2]: *** [CMakeFiles/teleop_nao_ni.dir/all] Error 2
  make[2]: Leaving directory `/home/isnl/rospkgs/nao_openni/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/isnl/rospkgs/nao_openni/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package nao_openni written to:
[ rosmake ]
/home/isnl/.ros/rosmake/rosmake_output-20110502-034109/nao_openni/build_output.log

[rosmake-0] Finished <<< nao_openni [FAIL] [ 2.02 seconds ]

########################################################################################################################################################################################

/home/isnl/ros is the path that I installed ROS on my ubuntu system.
Does anyone know the reason and/or solution for this error?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110502/c931bde5/attachment-0001.html>


More information about the ros-users mailing list