-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile problem with macOS 14.4.1: error: only virtual member functions can be marked 'override' const std::string& message) override; #961
Comments
Same here. When are those changes going to be merged? --- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,6 +42,18 @@ if(VCPKG_TOOLCHAIN)
message(STATUS "BUILDING_WITH_VCPKG")
endif()
+# Include PkgConfig module
+find_package(PkgConfig REQUIRED)
+
+# Use pkg_check_modules to find ZeroMQ
+pkg_check_modules(ZEROMQ REQUIRED IMPORTED_TARGET libzmq)
+
+# Include ZeroMQ directories
+include_directories(${ZEROMQ_INCLUDE_DIRS})
+# -------
+
find_package(ament_cmake QUIET)
find_package(catkin QUIET)
Thanks! |
I could build it using an older version of protobuf.
|
Still having issues compiling. Tried to compile and got same error. What am I missing? |
@TalGlantz, I have the same issue. Could you let me know if you solved this compile error? |
I had the same issue, I used recipe from here #961 (comment) but I had to add path to protobuf and mosquitto. It's not a fully correct solution but it solved my issue
|
I'm on macOS 15.1 (Sequoia) and FWIW, I couldn't compile completely with either the latest protobuf or protobuf@21. If I uninstall all protobuf versions and make the changes here (or removing ZMQ from Per the pending pull request that fixes building on Mac, some code changes are actually needed to remove the |
Problem description
Following #947, I still cannot compile plotjuggler on Mac with macOS 14.4.1 and Apple M3 chip. Need help.
The text was updated successfully, but these errors were encountered: