# WebGPU setup (macOS)

**URL:** https://discourse.vtk.org/t/webgpu-setup-macos/16381
**Category:** Support
**Created:** [April 17, 2026, 12:55pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381 "2026-04-17T12:55:00Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 12:55pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/1 "2026-04-17T12:55:00Z")

</div>

Hello everyone, I would appreciate it if someone could help with this. I have been trying to follow the following tutorial to no avail. [https://docs.vtk.org/en/latest/modules/vtk-modules/Rendering/WebGPU/README.html#configuring-and-building-vtk](https://docs.vtk.org/en/latest/modules/vtk-modules/Rendering/WebGPU/README.html#configuring-and-building-vtk)

here’s what I have done thus far.

- 

```auto
git clone https://github.com/google/dawn dawn && cd dawn

```

- 

```auto
git checkout v20250621.085109

```

whilst in the folder `dawn`

- 

```auto
cmake -S . -B install_output/bin -GNinja -DDAWN_FETCH_DEPENDENCIES=ON -DDAWN_ENABLE_INSTALL=ON

```

- 

```auto
cmake --build install_output/bin

```

- I created a folder in `dawn --> `install_output/install` for installation`

- 

```auto
cmake --install install_output/bin --prefix install_output/install

```

thus far I have this

 ![main](https://discourse.vtk.org/uploads/default/original/2X/f/f75ac0e2a4b2244df48c3e743b9647beb6813346.png)

and the content after successful installation is as follow

 ![install](https://discourse.vtk.org/uploads/default/original/2X/a/aa731b3905c160c33482f4c3548006b2cb871ebd.png)

– so I guess everything when well.

next I decide to go the route `When building on desktop (x86_64/aarch64), configure with`

- `/path/to/vtk/src` is pointing to a checkout of `vtk`
- `/path/to/vtk/build` points to a folder where I want to build called `vtk-debug-webgpu-bin`
- `DDawn_DIR=` points to the installation folder in the screenshot below

 ![Screenshot 2026-04-17 at 8.45.40 AM](https://discourse.vtk.org/uploads/default/original/2X/f/fae067b61eaf15cb86ef40fb579a3c226222f312.png)

– then I execute the following from the folder `vtk-debug-webgpu-bin` I created, mentioned earlier.

note `..` below is used to shorten the path description.

```auto
cmake -S ../vtk 
-B . 
-GNinja 
-DVTK_ENABLE_WEBGPU=ON 
-DDawn_DIR=../dawn/install_output/install/lib/cmake/Dawn
-DVTK_BUILD_TESTING=ON 

cmake --build .

```

I get the following error.

 ![issue](https://discourse.vtk.org/uploads/default/original/2X/2/24efee08fc094846704ae95bea5869aaeabd7cb6.jpeg)

Has anyone encountered this? if so, what’s the workaround / solution?

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [April 17, 2026, 1:17pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/2 "2026-04-17T13:17:54Z")

</div>

Hi @Seun

Please try `git checkout v20251002.162335` instead. The docs are being updated in [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/13067](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13067).

@Quinn_Powell can you please review that MR. Let’s aim to get it in soon so users can follow updated instructions.

@Seun, apologies for the inconvenience.

---

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 1:46pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/3 "2026-04-17T13:46:08Z")

</div>

Hi Jaswant,

No worries. I’ll try the `version` you suggested. Do you think the current instructions available will be sufficient to at least get something going?

---

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 1:54pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/4 "2026-04-17T13:54:54Z")

</div>

I think that version is problematic. `v20251002.16233`

 ![Screenshot 2026-04-17 at 9.54.41 AM](https://discourse.vtk.org/uploads/default/original/2X/a/a54e2930f716af380f1e3494f7d1b0feb4ea5390.png)

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [April 17, 2026, 1:56pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/5 "2026-04-17T13:56:12Z")

</div>

you have a typo. try `v20251002.162335`

---

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 1:58pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/6 "2026-04-17T13:58:04Z")

</div>

![Screenshot 2026-04-17 at 9.57.21 AM](https://discourse.vtk.org/uploads/default/original/2X/b/bf1b8e5a70cd2482cb59d28cb6c7b22521dc6d34.png)

Sorry, this is the actual error I get. Ignore the initial post. I tried it twice and accidentally left out the last digit.

---

<div class="post-metadata">

### Author: ![jaswantp](https://discourse.vtk.org/user_avatar/discourse.vtk.org/jaswantp/32/10046_2.png) [@jaswantp](https://discourse.vtk.org/u/jaswantp)
#### Post date: [April 17, 2026, 2:00pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/7 "2026-04-17T14:00:26Z")

</div>

The tag definitely exists on github [GitHub - google/dawn at v20251002.162335 · GitHub](https://github.com/google/dawn/tree/v20251002.162335).

Maybe try `git fetch --tags` first?

---

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 2:04pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/8 "2026-04-17T14:04:25Z")

</div>

Perhaps there is a difference between `https://dawn.googlesource.com/dawn` which is what the build was based on and `https://github.com/google/dawn` you are referring to. I’ll try that, hopefully all goes well. Thanks.

---

<div class="post-metadata">

### Author: ![Seun](https://discourse.vtk.org/user_avatar/discourse.vtk.org/seun/32/767_2.png) [@Seun](https://discourse.vtk.org/u/Seun)
#### Post date: [April 17, 2026, 3:14pm UTC](https://discourse.vtk.org/t/webgpu-setup-macos/16381/9 "2026-04-17T15:14:38Z")

</div>

Hi Jaswant, I was able to get everything up and running following your suggestion. Looking forward to the MR. Thanks a lot.
