Could not determine MSC version (Visual Studio 2017)

julien2412 serval2412 at yahoo.fr
Fri Jan 25 09:55:12 UTC 2019


sberg wrote
> ...
> 
> In the cygwin shell where you do `make`, do the following:
> 
>> $ grep CC= config_host.mk
> to get the CC=... line, should be something like CC=C:/PROGRA...  Do the 
> below two commands, with each XXX replaced by the exact value from that 
> CC= line:
>> $ XXX -v
> and
> 
>> $ XXX -v 2>&1 | sed -ne 's|.*
>> \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'
> and provide the output of each.

$ grep CC= config_host.mk
export
CC=C:/PROGRA~2/MIB055~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe

$
C:/PROGRA~2/MIB055~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe
-v
Compilateur d'optimisation Microsoft (R) C/C++ version▒19.16.27026.1 pour
x64
Copyright (C) Microsoft Corporation. Tous droits r▒serv▒s.

cl▒: Ligne de commande warning D9002▒: option '-v' inconnue ignor▒e
cl▒: Ligne de commande error D8003▒: nom de fichier de la source absent


$
C:/PROGRA~2/MIB055~1/2017/COMMUN~1/VC/Tools/MSVC/1416~1.270/bin/HostX64/x64/cl.exe
-v 2>&1 | sed -ne 's|.* \([0-9]\+\.[0-9]\+\.[0-9]\+\(\.[0-9]\+\)\?\).*|\1|p'

empty

Julien





--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list