mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-08-04 16:52:29 +00:00
The Windows build's "Install codegen tools" step ran `pip install grpcio-tools`, whose grpcio C-extension has no Windows/ARM64 wheel for current Python and fails to build from source on windows-11-arm, so protoc was unavailable and run_codegen aborted at the compile step. The codegen only needs a protoc binary + the protobuf runtime + pyyaml. Install those directly on Windows instead: pip install protobuf (>=6.33.5, matching the committed config_metadata_pb2.py runtime check) + pyyaml, and download a standalone protoc (win64; runs under x64 emulation on arm64). run_codegen prefers a standalone protoc on PATH, so grpcio-tools is no longer needed on Windows. Linux/macOS steps keep grpcio-tools (wheels available there). Verified locally: run_codegen with a protobuf-only venv (no grpcio-tools) + standalone protoc 28.3 -> Lint passed (712 fields), Validation PASSED.