Skip to content

Commit

Permalink
Add instruction for building on macOS using GPU
Browse files Browse the repository at this point in the history
Signed-off-by: Yiying Lai <[email protected]>
  • Loading branch information
yiyinglai committed Oct 15, 2024
1 parent c67c7f7 commit 9996467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/getting_started/cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Note: This currently works only on Linux, and please first follow
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 \
mediapipe/examples/desktop/hand_tracking:hand_tracking_gpu
```
Note: add `--copt -DMEDIAPIPE_GPU_BUFFER_USE_CV_PIXEL_BUFFER` for macOS.

2. To run the application:

Expand Down

0 comments on commit 9996467

Please sign in to comment.