Hi, I'm _completely_ new to Roc (although I've watched many videos/podcasts with Richard F), and I'm trying to follow the new compiler/language version introduction at https://github.com/roc-lang/roc/blob/main/docs/mini-tutorial-new-compiler.md on my Windows 10 machine.
I've fallen at the first hurdle as I get this error trying to compile the main.roc:
> roc .\main.roc
-- LINKER FAILED ---------------------------------
The linker failed while building for target x64win
Error: WindowsSDKNotFound
Presumably then I need to install an SDK, but does that mean I should install Visual Studio?
> roc version
Roc compiler version debug-adbec1c9
Or is this to do with this being a debug build of the compiler?
I think if you install Visual Studio C++ Build Tools that gives you the SDK... though I feel like we should be able to set things up ideally so the roc binary is all you need.
We haven't had many people test out Roc on Windows and give us feedback. I've done a bit of things with Windows but I guess i just had the SDK installed and haven't tried on a fresh installation before.
Thanks, that did the trick. I installed the C++ desktop development workload for Visual Studio Community 2026 and the program links OK now. I probably installed more than I actually needed to, but no matter.
Last updated: Mar 20 2026 at 12:28 UTC