aui-framework / aui-framework/aui

aui.boot breaks on Windows if user folder is in Russian

Open
#686 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
598
Forks
44
Avg merge
17h 56m
Merged PRs (30d)
3

Description

```
FAILED: bin/aui.core.dll lib/aui.core.lib
C:\Windows\system32\cmd.exe /C "cd . && "C:\Program Files\JetBrains\CLion 2025.3\bin\cmake\win\x64\bin\cmake.exe" -E vs_link_dll --msvc-ver=1950 --intdir=aui.core\CMakeFiles\aui.core.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100261~1.0\x64\mt.exe --manifests -- C:\PROGRA~1\MIB055~1\18\COMMUN~1\VC\Tools\MSVC\1450~1.357\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\aui.core.rsp /out:bin\aui.core.dll /implib:lib\aui.core.lib /pdb:bin\aui.core.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /force:MULTIPLE && cd ."
LINK Pass 1: command "C:\PROGRA~1\MIB055~1\18\COMMUN~1\VC\Tools\MSVC\1450~1.357\bin\Hostx64\x64\link.exe /nologo @CMakeFiles\aui.core.rsp /out:bin\aui.core.dll /implib:lib\aui.core.lib /pdb:bin\aui.core.pdb /dll /version:0.0 /machine:x64 /debug /INCREMENTAL /force:MULTIPLE /MANIFEST /MANIFESTFILE:aui.core\CMakeFiles\aui.core.dir/intermediate.manifest aui.core\CMakeFiles\aui.core.dir/manifest.res" failed (exit code 1181) with the following output:

LINK : warning LNK4075: не учитывается "/INCREMENTAL" из-за спецификации "/FORCE"

LINK : fatal error LNK1181: не удается открыть входной файл "C:\Users\Р'Р?Р'Р?Р?\.aui\prefix\zlib\d24b25d74387d0c78062e544470cc162\lib\zlibd.lib"
```

The actual location of `~/.aui` is `C:\Users\БИБОН\.aui\`.

I suppose CJK symbols would break build either. (users of #508)

If `v8.0.0-rc.12` is specified, the build is ok. That's because aui.boot would just download precompiled binary of aui, instead of building it locally.

Contributor guide

Open the contributing guide

Research direction

Reproduce the local build on Windows with a Russian-named user folder, using the failing aui.boot path rather than v8.0.0-rc.12. Start by tracing how aui.boot passes the ~/.aui\prefix\zlib path into CMake and the linker; done means the local build succeeds with Cyrillic paths, including the zlib library lookup.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.