Skip to content

Commit 67be3e9

Browse files
committed
Windows: Document long path support and add glaze dependency
1 parent 4f1e09c commit 67be3e9

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

windows/README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,20 @@ Studio (``[PRESET]`` is equal to the value after ``--preset`` above).
7373

7474
## Compile instructions for EasyRPG Editor
7575

76+
### Enabling Long Path Support
77+
78+
Compiling the editor fails because the path length of the Kirigami dependency
79+
exceeds the legacy Windows limit of 260 characters.
80+
81+
To resolve this issue, either enable long path support in the Windows 11
82+
Developer Settings, or run the following command in PowerShell as an
83+
administrator:
84+
85+
```psh
86+
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" `
87+
-Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
88+
```
89+
7690
### Configuring
7791

7892
Open the "Developer Command Prompt for Visual Studio 2022" from the Start menu

windows/build_editor.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ call helper\prepare.cmd
44

55
:: Build 64-bit libraries
66
vcpkg install --triplet x64-windows-static-easyrpgeditor --recurse^
7-
zlib[core] expat[core] inih[cpp] nlohmann-json[core]
7+
zlib[core] expat[core] inih[cpp] nlohmann-json[core] glaze[core]
88

99
:: Other dependencies such as Kirigami are built via vcpkg.json and a custom
1010
:: overlay in the editor repository. This makes updating them easier.

0 commit comments

Comments
 (0)