Skip to content

Commit

Permalink
docs: changed the clang command for install-brew.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Nov 26, 2023
1 parent c9631ac commit 5940a94
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docpages/install/install-brew.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@ This command will install libdpp and setup links so it can be used correctly.
You will now be able to use D++ by including its library on the command line:

```bash
clang++ -std=c++17 -I/opt/homebrew/include -ldpp mybot.cpp -o mybot
clang++ -std=c++17 -L/opt/homebrew/lib -I/opt/homebrew/include -ldpp mybot.cpp -o mybot
```

\note A crucial part of this command is `-I/opt/homebrew/include`. AppleClang should automatically have `/opt/homebrew/lib` added as a way to detect library (if it doesn't, you can do `-L/opt/homebrew/lib` with this command), however, AppleClang does not auto-detect includes from homebrew. This means, D++ needs you to link the includes folder.

\include{doc} install_prebuilt_footer.dox

## Uninstalling & Unlinking
Expand Down

0 comments on commit 5940a94

Please sign in to comment.