Comments (6)
I had the same problem. Note that the error is the following:
ld: file cannot be mmap()ed, errno=22 path=/opt/homebrew/opt/qt@5/lib in '/opt/homebrew/opt/qt@5/lib'
and that happens around the 75% of the build.
However, I managed at some point to reach 84% but then it failed again due to an include not found.
I reached there simply by not setting the LDFLAGS variable.
The error at 84% is about a missing include file:
/Users/ubaldot/plotjuggler_ws/src/PlotJuggler/plotjuggler_plugins/DataStreamZMQ/zmq.hpp:36:10: fatal error: 'zmq.h' file not found
Unfortunately I am not a cmake guy, so I don't know how to specify the path of such an include.
However, I found the file and it is located here: /opt/homebrew/Cellar/zeromq/4.3.5_1/include/zmq.h
I think this path shall be specified somehow in the cmake config file somehow and/or /opt/homebrew/Cellar/zeromq/4.3.5_1/lib/pkgconfig
. No idea how to do it.
from plotjuggler.
SOLVED
- Add the following to your
CMakeList.txt
file:
# 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})
- Don't export the LDFLAG environment variable i.e. use the following:
QT_HOME=$(brew --prefix qt@5)
export CPPFLAGS="-I $QT_HOME/include"
export PKG_CONFIG_PATH="$QT_HOME/lib/pkgconfig"
instead of the following (as written in the guide):
QT_HOME=$(brew --prefix qt@5)
export CPPFLAGS="-I $QT_HOME/include"
export PKG_CONFIG_PATH="$QT_HOME/lib/pkgconfig"
export LDFLAGS="$QT_HOME/lib"
![image](https://private-user-images.githubusercontent.com/10845685/311060327-b65f93ae-50bd-4431-b453-5bd09ca6b615.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTg4NjA4ODIsIm5iZiI6MTcxODg2MDU4MiwicGF0aCI6Ii8xMDg0NTY4NS8zMTEwNjAzMjctYjY1ZjkzYWUtNTBiZC00NDMxLWI0NTMtNWJkMDljYTZiNjE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjIwVDA1MTYyMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdiMzZlZjA5N2QzYTU2NjgyNzZiMDIzN2ZmZjZhMzhjYTY5NDAzZDRkMWI0YzI0ZWEzOTMyN2U1NTQ3YWZlMmMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.xaPtCyVz5XxNY0cA1H5wXOefqoAX40k4zplT83kyUf8)
from plotjuggler.
can you please create a PR, with the required corrections?
from plotjuggler.
Sure! That I am able to do :D
from plotjuggler.
@ubaldot Could you tell me which CMakeLists.txt should I modify?
from plotjuggler.
@lgkimjy it is written in this PR: #950
:
from plotjuggler.
Related Issues (20)
- ROS Feature: plot transformations `/tf` between any couple of frames HOT 2
- Topic republisher
- webots_ros/Float64Stamped from webots causes 'Bad field when parsing field: \n' HOT 2
- It only recognizes the messages of ROS2 HOT 2
- 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?
- Compile problem with macOS 14.4.1: error: only virtual member functions can be marked 'override' const std::string& message) override; HOT 5
- Custom series with sqrt not working
- 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
- how to modify code to change dots size HOT 1
- Allow plotted line width to be set
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.