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
Mac Sonoma with Jazzy ROS2 (source code) and Gazebo Garden (using brew, of course with gz-msg, gz-transport etc along with it with brew)
I've tried with protobuf@3 of brew, which is 3.20.3 according to protoc --version
Output
In file included from /Users/woensug/ros_gz_ws/src/ros_gz_for_mac/ros_gz_sim/test/test_create.cpp:17:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/entity_factory.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/entity_factory.pb.h:32:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/light.pb.h:12:
/opt/homebrew/include/gz/msgs10/gz/msgs/details/light.pb.h:16:2: error: "Protobuf C++ gencode is built with an incompatible version of"#error "Protobuf C++ gencode is built with an incompatible version of"
^
/opt/homebrew/include/gz/msgs10/gz/msgs/details/light.pb.h:17:2: error: "Protobuf C++ headers/runtime. See"#error "Protobuf C++ headers/runtime. See"
^
/opt/homebrew/include/gz/msgs10/gz/msgs/details/light.pb.h:18:2: error: "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
^
In file included from /Users/woensug/ros_gz_ws/src/ros_gz_for_mac/ros_gz_sim/test/test_create.cpp:17:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/entity_factory.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/entity_factory.pb.h:32:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/light.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/light.pb.h:33:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/pose.pb.h:12:
/opt/homebrew/include/gz/msgs10/gz/msgs/details/pose.pb.h:16:2: error: "Protobuf C++ gencode is built with an incompatible version of"#error "Protobuf C++ gencode is built with an incompatible version of"
^
/opt/homebrew/include/gz/msgs10/gz/msgs/details/pose.pb.h:17:2: error: "Protobuf C++ headers/runtime. See"#error "Protobuf C++ headers/runtime. See"
^
/opt/homebrew/include/gz/msgs10/gz/msgs/details/pose.pb.h:18:2: error: "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"#error "https://protobuf.dev/support/cross-version-runtime-guarantee/#cpp"
^
In file included from /Users/woensug/ros_gz_ws/src/ros_gz_for_mac/ros_gz_sim/test/test_create.cpp:17:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/entity_factory.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/entity_factory.pb.h:32:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/light.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/light.pb.h:33:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/pose.pb.h:12:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/details/pose.pb.h:31:
In file included from /opt/homebrew/include/gz/msgs10/gz/msgs/vector3d.pb.h:12:
/opt/homebrew/include/gz/msgs10/gz/msgs/details/vector3d.pb.h:16:2: error: "Protobuf C++ gencode is built with an incompatible version of"#error "Protobuf C++ gencode is built with an incompatible version of"
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake[2]: *** [CMakeFiles/test_create.dir/build.make:76: CMakeFiles/test_create.dir/test/test_create.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:381: CMakeFiles/test_create.dir/all] Error 2
20 errors generated.
gmake[2]: *** [CMakeFiles/create.dir/build.make:76: CMakeFiles/create.dir/src/create.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:248: CMakeFiles/create.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
---
Failed <<<ros_gz_sim [9.45s, exited with code 2]
Aborted <<<ros_gz_interfaces [14.6s]
The text was updated successfully, but these errors were encountered:
woensug-choi
changed the title
What Version of Protobuf are we using?
What Version of Protobuf are we using? (Apple Silicon, native source code install)
Jun 18, 2024
Environment
Description
Steps to reproduce
protobuf@3
of brew, which is3.20.3
according toprotoc --version
Output
The text was updated successfully, but these errors were encountered: