From 9996467c4394d5d1637d0b1b46acc536ad6c84c7 Mon Sep 17 00:00:00 2001 From: Yiying Lai Date: Tue, 15 Oct 2024 12:45:36 +0800 Subject: [PATCH] Add instruction for building on macOS using GPU Signed-off-by: Yiying Lai --- docs/getting_started/cpp.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/getting_started/cpp.md b/docs/getting_started/cpp.md index d708866a77..e170695f48 100644 --- a/docs/getting_started/cpp.md +++ b/docs/getting_started/cpp.md @@ -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: