You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have resolved the issue with the build Franka interface. I previously installed Protobuf on my computer, which may have caused conflicts. Therefore, I switched to a new system and this issue has been resolved. However, I encountered an error while building catkin again."bash ./bash_scripts/make_catkin.sh". I have successfully built 10 out of 11 packages, but the last one, franka_gazebo, was not successful. I noticed that the error message is a mismatch between the gazebo and protobuf versions. I would like to inquire about the version information of the two you are using and how I can solve this problem.
/usr/include/gazebo-9/gazebo/msgs/joint_animation.pb.h: In member function ‘void gazebo::msgs::JointAnimation::set_allocated_model_name(std::_cxx11::string*)’:
/usr/include/gazebo-9/gazebo/msgs/joint_animation.pb.h:434:15: error: ‘struct google::protobuf::internal::ArenaStringPtr’ has no member named ‘SetAllocatedNoArena’; did you mean ‘SetAllocated’?
model_name.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), model_name);
^~~~~~~~~~~~~~~~~~~
SetAllocated
In file included from /usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:30:0,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h: At global scope:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h:182:33: error: ‘InternalMetadataWithArena’ in namespace ‘google::protobuf::internal’ does not name a type
::google::protobuf::internal::InternalMetadataWithArena internal_metadata;
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h: In member function ‘const google::protobuf::UnknownFieldSet& gazebo::msgs::PID::unknown_fields() const’:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h:61:47: error: no matching function for call to ‘google::protobuf::internal::InternalMetadata::unknown_fields() const’
return internal_metadata.unknown_fields();
^
In file included from /usr/local/include/google/protobuf/message_lite.h:54:0,
from /usr/local/include/google/protobuf/any.h:38,
from /usr/local/include/google/protobuf/generated_message_util.h:52,
from /usr/include/gazebo-9/gazebo/msgs/altimeter.pb.h:24,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:7,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/local/include/google/protobuf/metadata_lite.h:141:35: note: candidate: template const T& google::protobuf::internal::InternalMetadata::unknown_fields(const T& ()()) const
PROTOBUF_NDEBUG_INLINE const T& unknown_fields(
^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/metadata_lite.h:141:35: note: template argument deduction/substitution failed:
In file included from /usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:30:0,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h:61:47: note: candidate expects 1 argument, 0 provided
return internal_metadata.unknown_fields();
^
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h: In member function ‘google::protobuf::UnknownFieldSet gazebo::msgs::PID::mutable_unknown_fields()’:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h:65:55: error: no matching function for call to ‘google::protobuf::internal::InternalMetadata::mutable_unknown_fields()’
return internal_metadata.mutable_unknown_fields();
^
In file included from /usr/local/include/google/protobuf/message_lite.h:54:0,
from /usr/local/include/google/protobuf/any.h:38,
from /usr/local/include/google/protobuf/generated_message_util.h:52,
from /usr/include/gazebo-9/gazebo/msgs/altimeter.pb.h:24,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:7,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/local/include/google/protobuf/metadata_lite.h:151:29: note: candidate: template T* google::protobuf::internal::InternalMetadata::mutable_unknown_fields()
PROTOBUF_NDEBUG_INLINE T* mutable_unknown_fields() {
^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/metadata_lite.h:151:29: note: template argument deduction/substitution failed:
In file included from /usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:30:0,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/pid.pb.h:65:55: note: couldn't deduce template parameter ‘T’
return internal_metadata.mutable_unknown_fields();
^
In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51:0,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h: At global scope:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:183:33: error: ‘InternalMetadataWithArena’ in namespace ‘google::protobuf::internal’ does not name a type
::google::protobuf::internal::InternalMetadataWithArena internal_metadata;
^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h: In member function ‘const google::protobuf::UnknownFieldSet& gazebo::msgs::JointCmd::unknown_fields() const’:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:62:47: error: no matching function for call to ‘google::protobuf::internal::InternalMetadata::unknown_fields() const’
return internal_metadata.unknown_fields();
^
In file included from /usr/local/include/google/protobuf/message_lite.h:54:0,
from /usr/local/include/google/protobuf/any.h:38,
from /usr/local/include/google/protobuf/generated_message_util.h:52,
from /usr/include/gazebo-9/gazebo/msgs/altimeter.pb.h:24,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:7,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/local/include/google/protobuf/metadata_lite.h:141:35: note: candidate: template const T& google::protobuf::internal::InternalMetadata::unknown_fields(const T& ()()) const
PROTOBUF_NDEBUG_INLINE const T& unknown_fields(
^~~~~~~~~~~~~~
/usr/local/include/google/protobuf/metadata_lite.h:141:35: note: template argument deduction/substitution failed:
In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51:0,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:62:47: note: candidate expects 1 argument, 0 provided
return internal_metadata.unknown_fields();
^
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h: In member function ‘google::protobuf::UnknownFieldSet gazebo::msgs::JointCmd::mutable_unknown_fields()’:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:66:55: error: no matching function for call to ‘google::protobuf::internal::InternalMetadata::mutable_unknown_fields()’
return internal_metadata.mutable_unknown_fields();
^
In file included from /usr/local/include/google/protobuf/message_lite.h:54:0,
from /usr/local/include/google/protobuf/any.h:38,
from /usr/local/include/google/protobuf/generated_message_util.h:52,
from /usr/include/gazebo-9/gazebo/msgs/altimeter.pb.h:24,
from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:7,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/local/include/google/protobuf/metadata_lite.h:151:29: note: candidate: template T* google::protobuf::internal::InternalMetadata::mutable_unknown_fields()
PROTOBUF_NDEBUG_INLINE T* mutable_unknown_fields() {
^~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/google/protobuf/metadata_lite.h:151:29: note: template argument deduction/substitution failed:
In file included from /usr/include/gazebo-9/gazebo/msgs/MessageTypes.hh:51:0,
from /usr/include/gazebo-9/gazebo/physics/Joint.hh:29,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/joint.h:10,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/include/franka_gazebo/controller_verifier.h:2,
from /home/hhh/franka-interface/catkin_ws/src/franka_ros/franka_gazebo/src/controller_verifier.cpp:1:
/usr/include/gazebo-9/gazebo/msgs/joint_cmd.pb.h:66:55: note: couldn't deduce template parameter ‘T’
The text was updated successfully, but these errors were encountered:
Hello, I have resolved the issue with the build Franka interface. I previously installed Protobuf on my computer, which may have caused conflicts. Therefore, I switched to a new system and this issue has been resolved. However, I encountered an error while building catkin again."bash ./bash_scripts/make_catkin.sh". I have successfully built 10 out of 11 packages, but the last one, franka_gazebo, was not successful. I noticed that the error message is a mismatch between the gazebo and protobuf versions. I would like to inquire about the version information of the two you are using and how I can solve this problem.
The text was updated successfully, but these errors were encountered: