Skip to content
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

Update windows binary #327

Merged
merged 4 commits into from
Dec 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 11 additions & 12 deletions garden/install_windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,6 @@ WARNING: Current Windows support is experimental.
Most Gazebo packages are available in Windows 10 using the [conda-forge package manager](https://conda-forge.org/),
and the Gazebo feedstock recipes can be found [here](https://github.com/conda-forge?q=libignition&type=&language=).

The remaining packages currently have an [outstanding ticket](https://github.com/conda-forge/staged-recipes/issues/13551),
and will not be supported until they are added to the `conda-forge` feedstock.

Additionally, command line tools, the DART physics engine, and some tests are not currently supported in Windows.

In order to use `conda-forge`, you will need to
Expand All @@ -30,13 +27,15 @@ In order to use `conda-forge`, you will need to

3. Create and activate a new Conda environment:
```bash
conda create -n ign-ws
conda activate ign-ws
conda create -n gz-env
conda activate gz-env
```
4. Install desired Gazebo packages, since all of Gazebo isn't currently supported, you will need to choose which package(s)
you want to install based on your application.
4. Install desired Gazebo packages you want to install based on your application. Packages with the prefix `libgz-`
contain only the C++ libraries while the Python bindings are available separately as `gz-<package_name><#>-python`.
To install both with a single command use `gz-<package_name><#>`.
Thus you can use `gz-sim<#>` to fully install the latest version of Gazebo.
```bash
conda install libignition-<package_name><#> --channel conda-forge
conda install libgz-<package_name><#> --channel conda-forge
```
Be sure to replace `<package_name>` with your desired package name (ie, common, msgs, etc.)
and `<#>` with the release version. If left unspecified, `conda-forge` will install the
Expand All @@ -47,15 +46,15 @@ you want to install based on your application.

You can view all available versions of a specific package with:
```bash
conda search libignition-<package_name>* --channel conda-forge
conda search libgz-<package_name>* --channel conda-forge
```
and view their dependencies with
```bash
conda search libignition-<package_name>* --channel conda-forge --info
conda search libgz-<package_name>* --channel conda-forge --info
```
and install a specific minor version with
```bash
conda install libignition-<package_name>=<major>.<minor>.<patch> --channel conda-forge
conda install libgz-<package_name>=<major>.<minor>.<patch> --channel conda-forge
```
where `<major>` is the major release number, `<minor>` is the minor release number, and `<patch` is the patch release number.

Expand All @@ -65,7 +64,7 @@ If you need to uninstall Gazebo or switch to a source-based install once you
have already installed the library from binaries, run the following command:

```bash
conda uninstall libignition-<package_name> --channel conda-forge
conda uninstall libgz-<package_name> --channel conda-forge
```

## Troubleshooting
Expand Down