-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Summary
This issue relates to building the gz-*-vendor
packages when the underlying libraries have been built from source in a separate workspace. In this case the GZ_CONFIG_PATH
points to the libraries in the vendor package workspace rather than the packages in the source workspace. As a result the CLI tools that are expected with the command gz
are not visible.
See also: thread on Discord starting here: https://discord.com/channels/1077825543698927656/1077836768176517203/1239512156681011270
Details
System: macOS Sonoma 14.4.1, Xcode 15.3, Command Line Tools 15.3
Machine: MacBook Pro M1
How to replicate
- workspace
gz_source_ws
contains a build of thegz-*
libraries from source. - workspace
gz_vendor_ws
contains a build of thegz-*-vendor
libraries. - build workspace
gz_source_ws
- change to workspace
gz_vendor_ws
, sourcegz_source_ws
(i.e.. ~gz_source_ws/install/setup.zsh
) - build workspace
gz_vendor_ws
- run the
gz
command and inspect the available tools
Expected behaviour
$ gz
The 'gz' command provides a command line interface to the Gazebo Tools.
gz <command> [options]
List of available commands:
help: Print this help text.
fuel: Manage simulation resources.
gui: Launch graphical interfaces.
log: Record or playback topics.
model: Print information about models.
msg: Print information about messages.
param: List, get or set parameters.
plugin: Print information about plugins.
sdf: Utilities for SDF files.
service: Print information about services.
sim: Run and manage the Gazebo Simulator.
topic: Print information about topics.
Options:
--force-version <VERSION> Use a specific library version.
--versions Show the available versions.
--commands Show the available commands.
Use 'gz help <command>' to print help for a command.
Actual behaviour
$ gz
The 'gz' command provides a command line interface to the Gazebo Tools.
gz <command> [options]
List of available commands:
help: Print this help text.
sdf: Utilities for SDF files.
Options:
--force-version <VERSION> Use a specific library version.
--versions Show the available versions.
--commands Show the available commands.
Use 'gz help <command>' to print help for a command.
Metadata
Metadata
Assignees
Labels
No labels