Hi,
I wanna help contribute to the native windows side of development (maybe even make a game engine platform).
I was following the build source guide, but building with zig 0.11.0 on windows x64 gave this error when trying to build roc_bitcode_bc
and roc_bitcode
:
error: no field or member function named 'path' in 'Build'
I switched to zig 0.12.0 and it built correctly. But when I run roc repl
, it gives this error after inputting any expression:
thread 'main' has overflowed its stack
It also did this when I tried to run roc in the www directory, so I think it has something to do with the build.
Any help?
rebulit with zig 0.13.0, same error
I've made an (Unofficial) release of Windows here https://github.com/lukewilliamboswell/roc/releases/tag/windows-20241220
You will need to use llvm 18 & zig 0.13.0 for building now, we recently upgraded.
I thought we updated the building from source instructions...
For LLVM 18 on Windows I wasn't able to get my own working, but downloading the official Roc release from here worked for me https://github.com/roc-lang/llvm-package-windows/releases/tag/v18.1.8
I guess we built it from source to include the relevant binaries we need to build Roc from source
maybe even make a game engine platform
You're welcome to checkout https://github.com/lukewilliamboswell/roc-ray
We have Windows support and it's working well... though it's fairly new and just me and @Dan G Knutson hacking on it. But if we get more people actively contributing there's so many more nice features we can build in.
rebulit with zig 0.13.0, same error
error: no field or member function named 'path' in 'Build'
This error ^^ is from trying to compile the build.zig
. There were breaking changes from 0.11.0 -> 0.13.0. So you need to use 0.13.0 with current main.
I wanna help contribute to the native windows side of development
Also... welcome :wave:
Let us know if you need any assistance :smiley:
thanks for the help :+1:
Last updated: Jul 05 2025 at 12:14 UTC