V: make on Windows 10 fails and shows partial print of path

Created on 17 Jun 2020  路  3Comments  路  Source: vlang/v

V version: latest master as of 2020/06/16
OS: Windows 10

What did you do? cloned v directory from x64 Native Tools Command Prompt for Windows VS 2019; cd v; make -msvc

What did you expect to see? compiling messages and return to command prompt

What did you see instead? Attempting to build v.c with MSVC... Then it stops at a partial print out of my path with this at the end of the path:

"=="" was unexpected at this time.

It then returns to the c:\users\me\v prompt.

Bug

All 3 comments

Try with just make instead of make -msvc... v will try different compilers.

If that still doesn't work, mingw version of gcc works fine (I just tried it - no error). Download and install the correct version for your machine (32-bit vs 64-bit), and try make again.

You can also try make.bat -msvc explicitly.
I think that doing just make may fail, if you have a make.exe in your path.

Nope. Doesn't work. I have to set skip_path="" in another script in order to have make.bat run successfully. This script does some git and backup stuff beforehand and afterwards.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

taojy123 picture taojy123  路  3Comments

PavelVozenilek picture PavelVozenilek  路  3Comments

radare picture radare  路  3Comments

vtereshkov picture vtereshkov  路  3Comments

jtkirkpatrick picture jtkirkpatrick  路  3Comments