Comments (5)
Still having issues compiling.
I modified the files based on: https://github.com/facontidavide/PlotJuggler/pull/950/files updates.
Tried to compile and got same error. What am I missing?
from plotjuggler.
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
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 16477dd3..a240e057 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,6 +39,16 @@ 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)
@@ -103,6 +113,8 @@ if(APPLE AND EXISTS /usr/local/opt/qt5)
set(CMAKE_MACOSX_RPATH 1)
elseif(APPLE AND EXISTS /opt/homebrew/opt/qt@5)
list(APPEND CMAKE_PREFIX_PATH "/opt/homebrew/opt/qt@5")
+ list(APPEND CMAKE_PREFIX_PATH "/opt/homebrew/opt/protobuf@21")
+ list(APPEND CMAKE_PREFIX_PATH "/opt/homebrew/opt/mosquitto")
set(CMAKE_MACOSX_RPATH 1)
endif()
from plotjuggler.
Same here.
I could only get all the way to this point with the comments from #947, following the discussion here
https://github.com/facontidavide/PlotJuggler/pull/950/files
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!
from plotjuggler.
I could build it using an older version of protobuf.
brew install protobuf@21
brew link protobuf@21 --overwrite
from plotjuggler.
@TalGlantz, I have the same issue. Could you let me know if you solved this compile error?
from plotjuggler.
Related Issues (20)
- Accessibility: Add option to use different line styles instead of just different colours
- Having trouble opening an mcap file created on Linux in PlotJuggler for Windows? HOT 1
- Custom series with sqrt not working HOT 1
- Don't filter custom series
- ULog link in README is broken
- Issue with --buffer_size on Ubuntu 20.04 with PlotJuggler-3 v3.9.1 HOT 1
- Misalignment in Time Series Data Due to Differing Trajectory Sizes with reactive scripts HOT 2
- set x axis step size HOT 2
- 3.9.2 binaries?
- Cannot open .BIN file because of toLower() HOT 2
- What functions does PlotJuggler use to load a ULG file and to save CSVs
- Conan compile instructions for Windows are wrong HOT 1
- how to modify code to change dots size HOT 1
- Allow plotted line width to be set
- ros-rolling-plotjuggler-ros package not available for last month HOT 1
- Load a directory tree with csv files
- ROS1 Ubuntu 24 compatibility HOT 1
- The plugin [DataLoad ROS bags] thrown the following exception: map::at
- Crash on Start UDP Server HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotjuggler.