Launcher ERROR #3131

Open
opened 2026-12-02 13:00:13 +00:00 by Wertlow · 2 comments
Wertlow commented 2026-12-02 13:00:13 +00:00 (Migrated from github.com)
Contributor

Imported from ubiquitarianism/leonida. Originally posted by Wertlow on 2026-12-02T13:00:13Z.


What happens

Exited with code 1

Commit

Exited with code 1.

System

RTX 5070, i5 14600k

Where

Running gta6rt

Command and steps

powershell -NoProfile -ExecutionPolicy Bypass -File C:\Users\wertlow\Downloads\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\Games\GTA 6 Recomp\Game"
Building with DLSS (SDK: C:\Users\wertlow\Downloads\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS)
C:\Users\wertlow\Downloads\mandy-main\mandy-main\scripts\play-d3d12.ps1 : ��� "cargo" �� �ᯮ����� ��� ���

���������, �㭪樨, 䠩�� �業��� ��� �믮��塞�� �ணࠬ��. �஢���� �ࠢ��쭮��� ����ᠭ�� �����, � ⠪�� ����稥

� �ࠢ��쭮��� ���, ��᫥ 祣� ������ ������.

+ CategoryInfo          : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException

+ FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1

Exited with code 1.

Output

Exited with code 1.
<!-- greyfinch-sync:ubiquitarianism/leonida:issue:6745334738 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3131). Originally posted by [Wertlow](https://github.com/Wertlow) on 2026-12-02T13:00:13Z. --- ### What happens Exited with code 1 ### Commit Exited with code 1. ### System RTX 5070, i5 14600k ### Where Running gta6rt ### Command and steps > powershell -NoProfile -ExecutionPolicy Bypass -File C:\Users\wertlow\Downloads\mandy-main\mandy-main\scripts\play-d3d12.ps1 -Game "D:\Games\GTA 6 Recomp\Game" Building with DLSS (SDK: C:\Users\wertlow\Downloads\mandy-main\mandy-main\d3d12\nvidia-sdk\DLSS) C:\Users\wertlow\Downloads\mandy-main\mandy-main\scripts\play-d3d12.ps1 : ��� "cargo" �� �ᯮ����� ��� ��� ���������, �㭪樨, 䠩�� �業��� ��� �믮��塞�� �ணࠬ��. �஢���� �ࠢ��쭮��� ����ᠭ�� �����, � ⠪�� ����稥 � �ࠢ��쭮��� ���, ��᫥ 祣� ������ ������. + CategoryInfo : ObjectNotFound: (cargo:String) [play-d3d12.ps1], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException,play-d3d12.ps1 Exited with code 1. ### Output ```text Exited with code 1. ```
fiestorra commented 2026-12-02 14:52:57 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T14:52:57Z.


Exited with code 1 right after Building with DLSS is the build failing, not the game - the launcher compiles the runtime the first time and that is where it stops.

What the next lines say decides it, and they are in the same window (scroll up) or in the file the launcher writes. The usual three, in order of likelihood:

  1. error: failed to run custom build command / link.exe not found - the Visual Studio C++ build tools are missing. A ZIP download (mandy-main) does not carry them; see the requirements in README.md (the Desktop development with C++ workload).
  2. error: could not compile ... leonida-gpu (lib) with cannot open input file 'kernel32.lib' - the Rust build ran outside a Visual Studio environment. d3d12\scripts\build-nvidia.ps1 sets that up itself; running cargo build by hand does not.
  3. error: could not find the DLSS SDK - your path shows it was found (...\mandy-main\d3d12\nvidia-sdk\DLSS), so this one is less likely.

And cargo itself has to be there: cargo --version in a fresh PowerShell. If that fails, Rust is not installed and the build never starts - the layer is Rust.

Paste the 10-20 lines after Building with DLSS and I can name it instead of guessing; -Log also keeps a file if the window closed.

AI-assisted: yes - DeepSeek v4.1 (flash).

Written with an AI assistant.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7349299010 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3131#issuecomment-7349299010). Originally posted by [fiestorra](https://github.com/fiestorra) on 2026-12-02T14:52:57Z. --- **`Exited with code 1` right after `Building with DLSS` is the build failing, not the game** - the launcher compiles the runtime the first time and that is where it stops. **What the next lines say decides it**, and they are in the same window (scroll up) or in the file the launcher writes. **The usual three, in order of likelihood:** 1. **`error: failed to run custom build command` / `link.exe not found`** - the Visual Studio C++ build tools are missing. **A ZIP download (`mandy-main`) does not carry them**; see the requirements in `README.md` (the Desktop development with C++ workload). 2. **`error: could not compile ... leonida-gpu (lib)` with `cannot open input file 'kernel32.lib'`** - the Rust build ran outside a Visual Studio environment. **`d3d12\scripts\build-nvidia.ps1` sets that up itself**; running `cargo build` by hand does not. 3. **`error: could not find the DLSS SDK`** - your path shows it was found (`...\mandy-main\d3d12\nvidia-sdk\DLSS`), so this one is less likely. **And `cargo` itself has to be there**: `cargo --version` in a fresh PowerShell. If that fails, Rust is not installed and the build never starts - the layer is Rust. **Paste the 10-20 lines after `Building with DLSS`** and I can name it instead of guessing; **`-Log`** also keeps a file if the window closed. **AI-assisted:** yes - DeepSeek v4.1 (flash). Written with an AI assistant.
MoonEyes commented 2026-12-02 21:20:10 +00:00 (Migrated from github.com)
Author
Contributor

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T21:20:10Z.


"The term 'cargo' is not recognized" means the Rust toolchain is not installed, or not on PATH, when d3d12/scripts/build-nvidia.ps1 runs cargo build. Install it with winget install Rustlang.Rustup (or from https://rustup.rs), open a new terminal, check that cargo --version prints a version, then run the launcher again. If it still fails after that, please post the full output.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7359133891 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/issues/3131#issuecomment-7359133891). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-12-02T21:20:10Z. --- "The term 'cargo' is not recognized" means the Rust toolchain is not installed, or not on PATH, when `d3d12/scripts/build-nvidia.ps1` runs `cargo build`. Install it with `winget install Rustlang.Rustup` (or from https://rustup.rs), open a new terminal, check that `cargo --version` prints a version, then run the launcher again. If it still fails after that, please post the full output. AI-assisted (Claude Code).
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy#3131
No description provided.