Gazebo errors while building

Hi, I’m facing an issue trying to launch a Gazebo simulation with
make px4_sitl_default gazebo

It seems to me that there is a typing error somewhere in the code. I can read AuxillaryParseTableField where I should probably read AuxiliaryParseTableField, so seems like an i is missing. Can you please tell me if it is a fixable problem or if it needs to be fixed by some contributors…? Thank you all again :slight_smile:

The output I get is the following (sorry, it’s a bit long):

sed: 1: "s/.*20982.*/Library/Dev ...": bad flag in substitute command: 'D'
[0/4] Performing build step for 'sitl_gazebo'
[1/75] Generating /Users/lannimatteolo...ls/mb1240-xl-ez4/mb1240-xl-ez4-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/mb1240-xl-ez4/mb1240-xl-ez4.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/mb1240-xl-ez4/mb1240-xl-ez4-gen.sdf
[2/75] Generating /Users/lannimatteolo...models/matrice_100/matrice_100-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/matrice_100/matrice_100.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/matrice_100/matrice_100-gen.sdf
[3/75] Generating /Users/lannimatteolo..._gazebo/models/pixhawk/pixhawk-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/pixhawk/pixhawk.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/pixhawk/pixhawk-gen.sdf
[4/75] Generating /Users/lannimatteolo..._gazebo/models/px4flow/px4flow-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/px4flow/px4flow.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/px4flow/px4flow-gen.sdf
[5/75] Generating /Users/lannimatteolo...s/sitl_gazebo/models/r200/r200-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/r200/r200.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/r200/r200-gen.sdf
[6/75] Building CXX object CMakeFiles/sensor_msgs.dir/MagneticField.pb.cc.o
FAILED: CMakeFiles/sensor_msgs.dir/MagneticField.pb.cc.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dsensor_msgs_EXPORTS -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/lannimatteolorenzo/Firmware/mavlink/include -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/Cellar/opencv/4.3.0_4/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC   -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/sensor_msgs.dir/MagneticField.pb.cc.o -MF CMakeFiles/sensor_msgs.dir/MagneticField.pb.cc.o.d -o CMakeFiles/sensor_msgs.dir/MagneticField.pb.cc.o -c MagneticField.pb.cc
In file included from MagneticField.pb.cc:4:
In file included from ./MagneticField.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/vector3d.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
1 error generated.
[7/75] Building CXX object CMakeFiles/sensor_msgs.dir/Range.pb.cc.o
FAILED: CMakeFiles/sensor_msgs.dir/Range.pb.cc.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dsensor_msgs_EXPORTS -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/lannimatteolorenzo/Firmware/mavlink/include -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/Cellar/opencv/4.3.0_4/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC   -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/sensor_msgs.dir/Range.pb.cc.o -MF CMakeFiles/sensor_msgs.dir/Range.pb.cc.o.d -o CMakeFiles/sensor_msgs.dir/Range.pb.cc.o -c Range.pb.cc
In file included from Range.pb.cc:4:
In file included from ./Range.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/quaternion.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
1 error generated.
[8/75] Building CXX object CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o
FAILED: CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dnav_msgs_EXPORTS -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/lannimatteolorenzo/Firmware/mavlink/include -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/Cellar/opencv/4.3.0_4/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC   -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o -MF CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o.d -o CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o -c Odometry.pb.cc
In file included from Odometry.pb.cc:4:
In file included from ./Odometry.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/quaternion.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
In file included from Odometry.pb.cc:4:
In file included from ./Odometry.pb.h:36:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/vector3d.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
2 errors generated.
[9/75] Building CXX object CMakeFiles/sensor_msgs.dir/Imu.pb.cc.o
FAILED: CMakeFiles/sensor_msgs.dir/Imu.pb.cc.o 
/Library/Developer/CommandLineTools/usr/bin/c++  -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dsensor_msgs_EXPORTS -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/lannimatteolorenzo/Firmware/mavlink/include -I/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/Cellar/opencv/4.3.0_4/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC   -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/sensor_msgs.dir/Imu.pb.cc.o -MF CMakeFiles/sensor_msgs.dir/Imu.pb.cc.o.d -o CMakeFiles/sensor_msgs.dir/Imu.pb.cc.o -c Imu.pb.cc
In file included from Imu.pb.cc:4:
In file included from ./Imu.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/quaternion.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
In file included from Imu.pb.cc:4:
In file included from ./Imu.pb.h:36:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/vector3d.pb.h:52:51: error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?
  static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: 'AuxiliaryParseTableField' declared here
union AuxiliaryParseTableField {
      ^
2 errors generated.
[10/75] Generating /Users/lannimatteol...sitl_gazebo/models/sf10a/sf10a-gen.sdf
/Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/sf10a/sf10a.sdf.jinja -> /Users/lannimatteolorenzo/Firmware/Tools/sitl_gazebo/models/sf10a/sf10a-gen.sdf
[11/75] Building CXX object CMakeFiles/std_msgs.dir/Int32.pb.cc.o
ninja: build stopped: subcommand failed.
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build 
cd /Users/lannimatteolorenzo/Firmware/build/px4_sitl_default/build_gazebo && /usr/local/Cellar/cmake/3.17.3/bin/cmake --build .
ninja: build stopped: subcommand failed.
make: *** [px4_sitl_default] Error 1

@Matte_Lanni Are you running this on MacOS?

Can you try brew upgrade and then make clean and make whatever again?

@Jaeyoung-Lim yes I’m running macOS Catalina 10.15.5, sorry for not have said that.

@JulianOes ok, i will try brew upgrade and make clean again, I will report back my results.

1 Like

Ok @JulianOes, I did brew upgrade and then tried to build with both make clean and make whatever, but none of them worked. The last one (make whatever) is not even recognised. The errors I get as output are the same I already posted, mentioning that weird error: no type named 'AuxillaryParseTableField' in namespace 'google::protobuf::internal'; did you mean 'AuxiliaryParseTableField'?

Am I doing something wrong? Or is it an error in the code (I feel like this is the one)?

Ok looks like it’s broken, see: https://github.com/osrf/homebrew-simulation/issues/1042

Usually it gets fixed by OSRF withing a few days.

1 Like

Thank you, I did not see that issue on GitHub.
Well, I guess we’ll have to wait :slight_smile:

Same Error while building gazebo 9 for px4_sitl in macOS catalina 10.15.3.

– Build files have been written to: /Users/Saurav/Firmware/build/px4_sitl_default/build_gazebo
[6/10] Performing build step for ‘sitl_gazebo’
[8/100] Generating /Users/Saurav/Firmw…s/sitl_gazebo/models/c920/c920-gen.sdf
/Users/Saurav/Firmware/Tools/sitl_gazebo/models/c920/c920.sdf.jinja -> /Users/Saurav/Firmware/Tools/sitl_gazebo/models/c920/c920-gen.sdf
[9/100] Generating /Users/Saurav/Firmw…models/3DR_gps_mag/3DR_gps_mag-gen.sdf
/Users/Saurav/Firmware/Tools/sitl_gazebo/models/3DR_gps_mag/3DR_gps_mag.sdf.jinja -> /Users/Saurav/Firmware/Tools/sitl_gazebo/models/3DR_gps_mag/3DR_gps_mag-gen.sdf
[16/100] Generating /Users/Saurav/Firm…Tools/sitl_gazebo/models/iris/iris.sdf

Couldn’t find a preferred IP via the getifaddrs() call; I’m assuming that your IP address is 127.0.0.1. This should work for local processes, but will almost certainly not work if you have remote processes.Report to the disc-zmq development team to seek a fix.
Couldn’t find a preferred IP via the getifaddrs() call; I’m assuming that your IP address is 127.0.0.1. This should work for local processes, but will almost certainly not work if you have remote processes.Report to the disc-zmq development team to seek a fix.
Couldn’t find a preferred IP via the getifaddrs() call; I’m assuming that your IP address is 127.0.0.1. This should work for local processes, but will almost certainly not work if you have remote processes.Report to the disc-zmq development team to seek a fix.
Couldn’t find a preferred IP via the getifaddrs() call; I’m assuming that your IP address is 127.0.0.1. This should work for local processes, but will almost certainly not work if you have remote processes.Report to the disc-zmq development team to seek a fix.
[17/100] Building CXX object CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o
FAILED: CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o
/Library/Developer/CommandLineTools/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dnav_msgs_EXPORTS -I/Users/Saurav/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/Saurav/Firmware/mavlink/include -I/Users/Saurav/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o -MF CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o.d -o CMakeFiles/nav_msgs.dir/Odometry.pb.cc.o -c Odometry.pb.cc
In file included from Odometry.pb.cc:4:
In file included from ./Odometry.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/quaternion.pb.h:52:51: error: no type named ‘AuxillaryParseTableField’ in namespace ‘google::protobuf::internal’; did you mean ‘AuxiliaryParseTableField’?
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: ‘AuxiliaryParseTableField’ declared here
union AuxiliaryParseTableField {
^
In file included from Odometry.pb.cc:4:
In file included from ./Odometry.pb.h:36:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/vector3d.pb.h:52:51: error: no type named ‘AuxillaryParseTableField’ in namespace ‘google::protobuf::internal’; did you mean ‘AuxiliaryParseTableField’?
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: ‘AuxiliaryParseTableField’ declared here
union AuxiliaryParseTableField {
^
2 errors generated.
[22/100] Building CXX object CMakeFiles/sensor_msgs.dir/Range.pb.cc.o
FAILED: CMakeFiles/sensor_msgs.dir/Range.pb.cc.o
/Library/Developer/CommandLineTools/usr/bin/c++ -DBOOST_ALL_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_PROGRAM_OPTIONS_DYN_LINK -DBOOST_REGEX_DYN_LINK -DBOOST_SYSTEM_DYN_LINK -DBOOST_TEST_DYN_LINK -DBOOST_THREAD_DYN_LINK -DLIBBULLET_VERSION=2.89 -DLIBBULLET_VERSION_GT_282 -Dsensor_msgs_EXPORTS -I/Users/Saurav/Firmware/Tools/sitl_gazebo/include -I. -I/usr/local/include/eigen3/eigen3 -I/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs -I/Users/Saurav/Firmware/mavlink/include -I/Users/Saurav/Firmware/Tools/sitl_gazebo/external/OpticalFlow/include -I/usr/local/Cellar/libffi/3.3/include -I/usr/local/Cellar/gstreamer/1.16.2/include/gstreamer-1.0 -I/usr/local/Cellar/glib/2.64.3/include -I/usr/local/Cellar/glib/2.64.3/include/glib-2.0 -I/usr/local/Cellar/glib/2.64.3/lib/glib-2.0/include -I/usr/local/opt/gettext/include -I/usr/local/Cellar/pcre/8.44/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include -isystem /usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9 -isystem /usr/local/Cellar/bullet/2.89/include/bullet -isystem /usr/local/Cellar/bullet/2.89/include -isystem /usr/local/include/simbody -isystem /usr/local/include -isystem /usr/local/Cellar/sdformat6/6.2.0_1/include/sdformat-6.2 -isystem /usr/local/include/ignition/math4 -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Terrain -isystem /usr/local/Cellar/ogre1.9/1.9-20160714-108ab0bcc69603dba32c0ffd4bbbc39051f421c9_8/include/OGRE/Paging -isystem /usr/local/include/ignition/transport4 -isystem /usr/local/include/ignition/msgs1 -isystem /usr/local/include/ignition/common1 -isystem /usr/local/include/ignition/fuel_tools1 -iframework /usr/local/opt/qt/lib -isystem /usr/local/opt/qt/lib/QtCore.framework/Headers -isystem /usr/local/opt/qt/./mkspecs/macx-clang -isystem /usr/local/include/eigen3 -isystem /usr/local/include/opencv4 -isystem /usr/local/Cellar/fcl/0.6.1/include -isystem /usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -isystem /usr/local/Cellar/ffmpeg/4.2.3_1/include -Wno-deprecated-declarations -Wno-address-of-packed-member -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -fPIC -I/usr/local/Cellar/ossp-uuid/1.6.2_2/include/ossp -I/usr/local/Cellar/ffmpeg/4.2.3_1/include -std=gnu++17 -MD -MT CMakeFiles/sensor_msgs.dir/Range.pb.cc.o -MF CMakeFiles/sensor_msgs.dir/Range.pb.cc.o.d -o CMakeFiles/sensor_msgs.dir/Range.pb.cc.o -c Range.pb.cc
In file included from Range.pb.cc:4:
In file included from ./Range.pb.h:35:
/usr/local/Cellar/gazebo9/9.13.0_1/include/gazebo-9/gazebo/msgs/quaternion.pb.h:52:51: error: no type named ‘AuxillaryParseTableField’ in namespace ‘google::protobuf::internal’; did you mean ‘AuxiliaryParseTableField’?
static const ::PROTOBUF_NAMESPACE_ID::internal::AuxillaryParseTableField aux[]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
/usr/local/include/google/protobuf/generated_message_table_driven.h:141:7: note: ‘AuxiliaryParseTableField’ declared here
union AuxiliaryParseTableField {
^
1 error generated.
ninja: build stopped: subcommand failed.
FAILED: external/Stamp/sitl_gazebo/sitl_gazebo-build
cd /Users/Saurav/Firmware/build/px4_sitl_default/build_gazebo && /usr/local/Cellar/cmake/3.17.3/bin/cmake --build .
ninja: build stopped: subcommand failed.
make: *** [px4_sitl] Error 1

How will this be solved or how much time do I have to wait. Is there any alternative like update OS etc?

See: https://github.com/PX4/Firmware/issues/15091

2 Likes

Thanks for letting me know but the problem got fixed when i reinstalled Gazebo from source using home-brew .
The issue was related with the incompatibility if the protobuff version with OSx

1 Like