Skip to content

Commit

Permalink
Added macos instructions (gazebosim#448)
Browse files Browse the repository at this point in the history
* Added macos instructions

Signed-off-by: Alejandro Hernández <[email protected]>

* Fix

Signed-off-by: Alejandro Hernández <[email protected]>

Co-authored-by: Ian Chen <[email protected]>
  • Loading branch information
2 people authored and srmainwaring committed Oct 21, 2021
1 parent 448ead3 commit ce520dc
Showing 1 changed file with 48 additions and 1 deletion.
49 changes: 48 additions & 1 deletion tutorials/02_install.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,54 @@ This assumes you have created and activated a Conda environment while installing
cmake --install . --config Release
```

# macOS

## Binary Installation

On macOS, add OSRF packages:
```
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew tap osrf/simulation
```

Install Ignition Rendering:
```
brew install ignition-rendering<#>
```

Be sure to replace `<#>` with a number value, such as 5 or 6, depending on
which version you need.

## Source Installation

1. Clone the repository
```
git clone https://github.com/ignitionrobotics/ign-rendering -b ign-rendering<#>
```
Be sure to replace `<#>` with a number value, such as 5 or 6, depending on
which version you need.

2. Install dependencies
```
brew install --only-dependencies ignition-rendering<#>
```
Be sure to replace `<#>` with a number value, such as 5 or 6, depending on
which version you need.

3. Configure and build
```
cd ign-rendering
mkdir build
cd build
cmake ..
make
```

4. Optionally, install
```
sudo make install
```

# Documentation

API documentation can be generated using Doxygen
Expand Down Expand Up @@ -226,4 +274,3 @@ To run tests specific to a render engine, set the `RENDER_ENGINE_VALUES` environ
```
RENDER_ENGINE_VALUES=ogre2 make test
```

0 comments on commit ce520dc

Please sign in to comment.