Skip to content

Commit

Permalink
Add instructions for macOS environment setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-dong committed Jan 22, 2024
1 parent 90dfa86 commit cdcc84b
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions doc/tutorial/English/Environment_Configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,27 @@ cmake ..
make
```
# MacOS

### Install Xcode and Homebrew
1. **Install Xcode**:
- Xcode is the official development tool provided by Apple, which includes the C++ compiler.
- You can download it for free from the Mac App Store.
- Installing Xcode will also install the Command Line Tools, which include the GCC compiler and other development tools.

2. **Install Homebrew**:
- Homebrew is a package manager for macOS, useful for installing various development tools and libraries.
- To install Homebrew, execute the following command in the terminal:
```bash
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```
- With Homebrew, you can easily install other development tools, like Git.

These steps will set up the fundamental tools needed for C++ development on macOS.

### Install Dependency
```bash
brew install cmake opencv
```
### Compile and run the sample
```bash
cd OrbbecSDK
Expand Down

0 comments on commit cdcc84b

Please sign in to comment.