v icon indicating copy to clipboard operation
v copied to clipboard

C error. This should never happen.

Open lsarrazi opened this issue 3 years ago • 1 comments

V doctor:

OS: windows, Microsoft Windows 11 Pro v22000 64-bit
Processor: 16 cpus, 64bit, little endian, AMD Ryzen 7 5800X 8-Core Processor  

CC version: Error: exec failed (CreateProcess) with code 2: Le fichier spécifié est introuvable.

 cmd: cc --version

getwd: C:\WINDOWS\system32
vmodules: C:\Users\Léo\.vmodules
vroot: C:\Program Files (x86)\v
vexe: C:\Program Files (x86)\v\v.exe
vexe mtime: 2022-07-23 10:57:23
is vroot writable: true
is vmodules writable: true
V full version: V 0.3.0 12d57e8

Git version: Error: exec failed (CreateProcess) with code 2: Le fichier spécifié est introuvable.

 cmd: git --version
Git vroot status: Error: exec failed (CreateProcess) with code 2: Le fichier spécifié est introuvable.

 cmd: git -C . describe --abbrev=8 --dirty --always --tags
.git/config present: false
thirdparty/tcc: N/A

What did you do? v

4*5

What did you expect to see? 20

What did you see instead?

==================
tcc: error: file 'C:\Users\Léo\.vmodules\cache\bc\bc51125a7524615158cf70dc1b6f6776.o' not found
...
==================
(Use `v -cg` to print the entire error message)

builder error:
==================
C error. This should never happen.

I have an accent in my name, maybe that's the problem, I don't know

lsarrazi avatar Jul 23 '22 11:07 lsarrazi

I have an accent in my name, maybe that's the problem, I don't know

Yes. As a temporary workaround, try setting a VMODULES environment variable, to something like c:\modules (a folder without accents/punctiation in the path).

spytheman avatar Jul 25 '22 08:07 spytheman