Open kbkpbot opened 1 month ago
Under Ubuntu, has no this bug
It is a known problem affecting V through tcc
.
Try using gcc or clang with -cc gcc
as a workaround, or move the project to a folder that has only latin letters + numbers in its path on windows.
hm, msvc should have worked though 🤔 ... I'll have to check again.
Describe the bug
v does not support Chinese character path name under Windows 10, it will fail when compile v program.
Reproduction Steps
create any v file, such as
Place this hello.v into a directory, which contain Chinese character, such as
Then compile it,
It will fail to compile the hello.v
Expected Behavior
compile and run without error
Current Behavior
Possible Solution
No response
Additional Information/Context
compile with msvc , will fail also.
V version
V full version: V 0.4.5 58a8fc6
Environment details (OS name and version, etc.)
D:\v\测试>v doctor V full version: V 0.4.5 58a8fc6 OS: windows, Microsoft Windows 10 ҵ LTSC v19044 64 λ Processor: 16 cpus, 64bit, little endian,
getwd: D:\v\测试 vexe: D:\v\v\v\v.exe vexe mtime: 2024-05-14 02:15:32
vroot: OK, value: D:\v\v\v VMODULES: OK, value: C:\Users\DDT.vmodules VTMP: OK, value: C:\Users\DDT\AppData\Local\Temp\v_0
Git version: git version 2.43.0.windows.1 Git vroot status: weekly.2024.20-dirty .git/config present: true
CC version: Error: 'cc' is not recognized as an internal or external command, operable program or batch file.
thirdparty/tcc status: thirdparty-windows-amd64 b99a453d