# WebGPU+VTK

**URL:** https://discourse.vtk.org/t/webgpu-vtk/16437
**Category:** Support
**Created:** [May 27, 2026, 6:47pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437 "2026-05-27T18:47:22Z")
**Posts on this page:** 12
**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: [May 27, 2026, 6:47pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/1 "2026-05-27T18:47:22Z")

</div>

Hello @jaswantp

by any chance do you know why this could be the case, I had few weeks ago successfully built + compiled `dawn with VTK` and able to write a sample application using this `v20251002.162335`. However, I noticed that the `checkout` sha for dawn has changed once again to `v20260421.125655` which is understandable since the whole project is `highly experimental`. now in my quest to try out the new `dawn` following the simple steps laid out in the following link

[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)

I’m constantly faced with all sorts of issues.

- I can’t build with `DVTK_BUILD_TESTING=ON` it fails to build
- If I turn off `DVTK_BUILD_TESTING=OFF` and build, I get the following

 ![Screenshot 2026-05-27 at 2.42.39 PM](https://discourse.vtk.org/uploads/default/original/2X/1/1842fd2f889c0f22674d5dd48468da3e6453cb01.png)

Do you have any idea what the issue might be. I even tried declaring the `osx architecture` in building dawn

> cmake -S . -B install\_output/bin -GNinja -DDAWN\_FETCH\_DEPENDENCIES=ON -DDAWN\_ENABLE\_INSTALL=ON -DCMAKE\_OSX\_ARCHITECTURES=arm64

and using the results to build vtk. and it constantly fails. What is puzzling is the last time I didn’t have these issues couple of weeks ago, any pointers would be appreciated?

---

<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: [May 27, 2026, 6:50pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/2 "2026-05-27T18:50:56Z")

</div>

Hi @Seun,

Sankhesh merged a fix in [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/13217](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13217)

Please make sure the VTK commit you are building is after [https://gitlab.kitware.com/vtk/vtk/-/commit/a14c90ca26d7805a07ec3a4c068db0e5441bf5c5](https://gitlab.kitware.com/vtk/vtk/-/commit/a14c90ca26d7805a07ec3a4c068db0e5441bf5c5)

---

<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: [May 27, 2026, 7:01pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/3 "2026-05-27T19:01:01Z")

</div>

Hi @jaswantp, I’ll give it a shot and get back to you. 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: [May 27, 2026, 7:53pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/4 "2026-05-27T19:53:10Z")

</div>

I just tried the following to no avail

 ![Screenshot 2026-05-27 at 3.52.06 PM](https://discourse.vtk.org/uploads/default/original/2X/b/b30db6c7ee4627f0733a9be2538c6a9a531f0f8b.png)

it’s also worth mentioning that I was already trying bleeding edge which I believe includes the said merge. which was still failing for me. perhaps there’s something I’m missing.

---

<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: [May 27, 2026, 8:45pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/5 "2026-05-27T20:45:44Z")

</div>

Okay.

1. Did you build dawn by yourself?
2. If not, did you download the right pre-built binaries for your architecture? arm64 vs x86\_64?

---

<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: [May 28, 2026, 12:36am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/6 "2026-05-28T00:36:12Z")

</div>

1. I have always built dawn by myself. (following the docs)
2. and I’m running on arm64, so quite naturally I build VTK for arm64, and set `Dawn_DIR` to the `install path of dawn` that is the folder `Dawn`

That is pretty much what I’ve done in the past.

---

<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: [May 28, 2026, 12:39am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/7 "2026-05-28T00:39:42Z")

</div>

I see. Others are seeing similar issues. I will check on a Mac when I get a chance

---

<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: [May 28, 2026, 12:52am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/8 "2026-05-28T00:52:12Z")

</div>

thanks, meanwhile I’ll try the pre-built dawn perhaps that may produce different results.

---

<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: [May 28, 2026, 1:37am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/9 "2026-05-28T01:37:53Z")

</div>

I reproduce on my mac. I have a fix. Will open MR soon.

---

<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: [May 28, 2026, 1:57am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/10 "2026-05-28T01:57:11Z")

</div>

fix is in [https://gitlab.kitware.com/vtk/vtk/-/merge\_requests/13292](https://gitlab.kitware.com/vtk/vtk/-/merge_requests/13292).

In the interim, a workaround is to build Dawn with `DAWN_ENABLE_RTTI=ON`.

---

<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: [May 28, 2026, 11:40am UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/11 "2026-05-28T11:40:18Z")

</div>

I didn’t get to try the `pre-built dawn yet` as it was late yesterday. I’ll give the above a try, 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: [May 28, 2026, 1:59pm UTC](https://discourse.vtk.org/t/webgpu-vtk/16437/12 "2026-05-28T13:59:34Z")

</div>

Hi @jaswantp

thanks for the fix, I was able to get things back up and running. for whatever it’s worth, `DAWN_ENABLE_RTTI=ON` made no difference when building `dawn` from source, the real difference was the `merge request` although I built with `DAWN_ENABLE_RTTI=ON` for completeness.

Thanks.
