Error while Adding Released package on ROS kinetic on Pi 4

asked 2020-12-22 20:44:55 -0500

Ayan gravatar image

While i run the command :

sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/kinetic

I get this error:

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘bool tf2::BufferCore::warnFrameId(const char*, const string&) const’: /home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:126:34: error: ‘logWarn’ was not declared in this scope logWarn("%s",ss.str().c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:134:34: error: ‘logWarn’ was not declared in this scope logWarn("%s",ss.str().c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘bool tf2::BufferCore::setTransform(const TransformStamped&, const string&, bool)’:

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:221:195: error: ‘logError’ was not declared in this scope cause they are the same", authority.c_str(), stripped.child_frame_id.c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:227:129: error: ‘logError’ was not declared in this scope orm from authority \"%s\" because child_frame_id not set ", authority.c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:233:177: error: ‘logError’ was not declared in this scope because frame_id not set", stripped.child_frame_id.c_str(), authority.c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:244:15: error: ‘logError’ was not declared in this scope ); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:257:136: error: ‘logError’ was not declared in this scope form.rotation.y, stripped.transform.rotation.z, stripped.transform.rotation.w); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:277:264: error: ‘logWarn’ was not declared in this scope pped.child_frame_id.c_str(), stripped.header.stamp.toSec(), authority.c_str()); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘geometry_msgs::TransformStamped tf2::BufferCore::lookupTransform(const string&, const string&, const ros::Time&) const’: /home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:636:48: error: ‘logError’ was not declared in this scope logError("Unknown error code: %d", retval); ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp: In member function ‘void tf2::BufferCore::_chainAsVector(const string&, ros::Time, const string&, ros::Time, const string&, std::vector<std::__cxx11::basic_string<char> >&) const’: /home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1607:48: error: ‘logError’ was not declared in this scope

logError("Unknown error code: %d", retval);
                                            ^

/home/pi/ros_catkin_ws/src/geometry2/tf2/src/buffer_core.cpp:1626:48: error: ‘logError’ was not declared in this scope logError("Unknown error code: %d", retval); ^

make[2]: * [CMakeFiles/tf2.dir/build.make:76: CMakeFiles/tf2.dir/src/buffer_core.cpp.o] Error 1

make[1]: * [CMakeFiles/Makefile2:974: CMakeFiles/tf2.dir/all] Error 2

make: * [Makefile:141: all] Error 2

edit retag flag offensive close merge delete