Hi, Please don't multi post your questions it just increases the noise for the community. Please see the guidelines for asking for help. http://www.ros.org/wiki/Support#Guidelines_for_asking_a_question It looks like you just asked this question on answers.ros.org at http://answers.ros.org/question/826/having-trouble-on-rosmake-nao_openni That's the correct forum for this question. Tully On Sun, May 1, 2011 at 1:19 PM, Jeh-Sang Cho wrote: > 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::value(const M&) [with M = > std::basic_string, std::allocator >]': > > /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, std::allocator >]' > /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, std::allocator >]' > /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, > std::allocator >' 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::value(const M&) [with M = > std::basic_string, std::allocator >]': > > /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, std::allocator >]' > /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, std::allocator >]' > /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, > std::allocator >' 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. > > > _______________________________________________ > ros-users mailing list > ros-users@code.ros.org > https://code.ros.org/mailman/listinfo/ros-users > > -- Tully Foote Systems Engineer Willow Garage, Inc. tfoote@willowgarage.com (650) 475-2827