I did what @Luke Boswell suggested here:
Luke Boswell said in #beginners > RocRay Error: WindowsSDKNotFound:
You can have the platform produce a library instead of an executable, and then use Zig or something else to do the linking.
Here's the result: https://github.com/johan0A/embed-roc-in-zig-example (it's a clone of roc-platform-template-zig)
I find it's a lot simpler than the original template. A lot better if you plan on having a fully custom platform in zig imo.
Let me know what you think and if I made any mistakes in the code. Thx
Looks good to me. :smile:
For quite a while a lot of our early platforms were shaped this way. But we've been focused more on the ideal end user experience and working through any issues that brings up.
Last updated: Oct 15 2026 at 17:56 UTC