On 19.06.2016 20:02, Georg Baum wrote:
racoon wrote:

In a common command window cl is not found.

This is actually good. It means your PATH is not poisoned by specific MSVC
tools.

But if I start

1) Open Developer Command Prompt for VS2015
2) call 'cl -v'

I get

Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.
cl : Command line warning D9002 : ignoring unknown option '-v'
cl : Command line error D8003 : missing source filename

So I guess that's okay.

Yes. Does cmake still not recognize the compiler if you call it from that
command window? In that case please send the CMakeError.log and
CMakeOutput.log files created by cmake, this would probably mean we need to
change our cmake compiler detection.

Yes, no recognition still. Files attached.

Daniel

Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:18:22 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.25


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" 
failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:18:23 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.22


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:20:42 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.23


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" 
failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:20:43 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.22


Compiling the C compiler identification source file "CMakeCCompilerId.c" failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:20:49 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdC\CompilerIdC.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.22


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" 
failed.
Compiler:  
Build flags: 
Id flags: 

The output was:
1
Microsoft (R)-Buildmodul, Version 14.0.25123.0
Copyright (C) Microsoft Corporation. Alle Rechte vorbehalten.

Der Buildvorgang wurde am 20.06.2016 09:20:49 gestartet.
Projekt 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 auf Knoten "1" (Standardziele).
C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]
Die Erstellung des Projekts 
"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 ist abgeschlossen (Standardziele) -- FEHLER.

Fehler beim Buildvorgang.

"C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj"
 (Standardziel) (1) ->
(Desktop_PlatformPrepareForBuild Ziel) -> 
  C:\Program Files 
(x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\Win32\PlatformToolsets\v140\Toolset.targets(34,5):
 error MSB8036: The Windows SDK version 8.1 was not found. Install the required 
version of Windows SDK or change the SDK version in the project property pages 
or by right-clicking the solution and selecting "Retarget solution". 
[C:\Users\Daniel\LyX\LyX23-build\CMakeFiles\3.5.2\CompilerIdCXX\CompilerIdCXX.vcxproj]

    0 Warnung(en)
    1 Fehler

Verstrichene Zeit 00:00:00.22


The system is: Windows - 6.1.7601 - AMD64

Reply via email to