Fix the Windows Ninja setup and probe examples in the build guide #22
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/JamesCicada--GTAVI-Recomp!22
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-22"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@RavenCurseBurg on GitHub · 2026-11-25 15:00 UTC · original
RavenCurseBurg:docs/windows-tooling-quickstart→main· +19 −17 · 1 files · 2 commits · openThe manual Windows instructions currently run
vcvars64.batfrom PowerShell. The batch file succeeds, but its environment changes end with the child process and the parent still cannot findcl.exe. The guide now starts Ninja builds from an x64 Native Tools prompt and explains how to open PowerShell with the same compiler and SDK environment.The probe examples now use the executable produced by CMake. The guide gives its location for a single-configuration Ninja build and a multi-configuration Visual Studio build.
I tested both paths on fresh Windows runners at
3f087def. The first job reproduced the original PowerShell environment problem, built with MSVC and Ninja and ran the documented custom-mount example. The second ran the default Visual Studio generator from plain PowerShell and invoked the Debug executable. Both builds passed all three CTests, and both probe examples produced the expected translations in both directions. Ninja and PowerShell verification · Visual Studio verificationOn Windows Server 2022 x64 (build 20348, MSVC 19.44), running the two original examples in sequence reproduced a CMake generator-platform mismatch. At
0c2c413the Visual Studio example usesbuild/vs. I ran both revised examples in one checkout. Both builds passed all three CTests, and both probe executables still ran from their documented locations. The Release helper also built from outside the checkout on this host. Same-checkout reproduction and verification · Release helper verificationAI-assisted with Codex + GPT-6.2 Astra (xhigh).
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.