Skip to content

Commit

Permalink
Revert "Added ZeroMQ and updated docs (#950)"
Browse files Browse the repository at this point in the history
This reverts commit 94b0526.
  • Loading branch information
facontidavide committed Apr 29, 2024
1 parent 94b0526 commit 832b2dd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
9 changes: 0 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,6 @@ 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)

Expand Down
4 changes: 3 additions & 1 deletion COMPILE.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ docker buildx build -o . .
On Mac, the dependencies can be installed using [brew](https://brew.sh/) with the following command:

```shell
brew install cmake qt@5 protobuf mosquitto zeromq zstd zmqpp
brew install cmake qt@5 protobuf mosquitto zeromq zstd
```

If a newer version of qt is installed, you may need to temporarily link to qt5
Expand All @@ -103,6 +103,7 @@ Add CMake into your env-vars to be detected by cmake
echo '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"' >> $HOME/.zshrc
```

If you don't want to permanently add them into your main file, you can try by just exporting locally in the current terminal with:
Expand All @@ -111,6 +112,7 @@ If you don't want to permanently add them into your main file, you can try by ju
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"
```

Clone the repository into **~/plotjuggler_ws**:
Expand Down

0 comments on commit 832b2dd

Please sign in to comment.