Fix the Windows Ninja setup and probe examples in the build guide #22

Open
github-bot wants to merge 2 commits from github-bot/gh-22 into main AGit
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-25 15:00 UTC · original
RavenCurseBurg:docs/windows-tooling-quickstart → main · +19 −17 · 1 files · 2 commits · open

The manual Windows instructions currently run vcvars64.bat from PowerShell. The batch file succeeds, but its environment changes end with the child process and the parent still cannot find cl.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 verification

On Windows Server 2022 x64 (build 20348, MSVC 19.44), running the two original examples in sequence reproduced a CMake generator-platform mismatch. At 0c2c413 the Visual Studio example uses build/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 verification

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-25 15:00 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/22) `RavenCurseBurg:docs/windows-tooling-quickstart` → `main` · +19 −17 · 1 files · 2 commits · open The manual Windows instructions currently run `vcvars64.bat` from PowerShell. The batch file succeeds, but its environment changes end with the child process and the parent still cannot find `cl.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](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45630548135/job/139262248210) · [Visual Studio verification](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45630548135/job/139262248726) On Windows Server 2022 x64 (build 20348, MSVC 19.44), running the two original examples in sequence reproduced a CMake generator-platform mismatch. At `0c2c413` the Visual Studio example uses `build/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](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45710172017/job/139542240713) · [Release helper verification](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45709664957/job/139540502027) AI-assisted with Codex + GPT-6.2 Astra (xhigh).
Start manual Ninja builds with the x64 Visual Studio environment, then invoke the probe where the chosen generator places it.

AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:34 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/22/head:github-bot/gh-22'
git switch 'github-bot/gh-22'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-22'
git switch 'github-bot/gh-22'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-22'
git switch 'github-bot/gh-22'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-22'
git switch 'main'
git merge --squash 'github-bot/gh-22'
git switch 'main'
git merge --ff-only 'github-bot/gh-22'
git switch 'main'
git merge 'github-bot/gh-22'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.