Open KatPurpy opened 3 years ago
Try doing a clean install. Tell us if you still have the same error.
What does clean install mean? Cloning from git repo and compiling manually?
@cbracketdash Nope, same error.
@KatPurpy Yes, deleted every download, path, temp file related to V and reinstalling it.
not sure if I did clean it up properly i just copied V from official website but the problem is clearly presence of cyrillic characters
by the way i just checked that in fact object files do exist in the directory, it is now clear that the trouble is somewhere with encoding and passing proper argument to gcc
Can you try with -cc tcc
and see if it has the same problem?
Also, try gcc from https://winlibs.com instead of the msys2 one you have.
@JalonSolov I really doubt that would help since building tetris example fails as well as anything that requires linking to third party libraries is going to use gcc anyway. The other problem I found out that if the current working dir of the compiler contains cyrillic characters it can't do anything
Maybe just don't use Cyrillic characters?
Maybe just don't use Cyrillic characters?
IMO it should work with Cyrillic characters.
Tried on Linux; issue doesnt happen. Seems to be a Windows only issue.
Still an issue on Windows.
v doctor output
What did you do?
v help
while the executable is under folder with cyrilic characters.v run examples/tetris/tetris.v
What did you expect to see?
What did you see instead? 1. C:\Users[REDACTED]\Downloads\v>v help V Error: Unknown help topic provided. Use
v help
for usage information.gcc: error: C:\Users[REDACTED].vmodules\cache\a0\a084424f774d8f05340437d1c93d0b91.o: No such file or directory gcc: error: C:\Users[REDACTED].vmodules\cache\4a\4a44544dbe66bd1cf288cf0b9ef7e0d1.o: No such file or directory [a lot of = that were removed because markdown engine parses them inadequately] builder error:
C error. This should never happen.
The [REDACTED] folder is a name in cyrillic censored for privacy reasons
The version is the latest one, precompiled, downloaded from the official website