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

Added macos instructions #448

Merged
merged 5 commits into from
Oct 6, 2021
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
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
```