Detecting CXX compiler ABI info failed to compile with the following output: Change Dir: C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_57116.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error : The source file for this compilation can be found at: "C:\Users\Cosmo\AppData\Local\Temp\88c16c0b-7a79-4e09-a639-4e7c4c27ec1a.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_57116.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. c:\Users\Cosmo\AppData\Local\Temp\obpqpgzm.0.cs(1,13) : error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_57116.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. c:\Users\Cosmo\AppData\Local\Temp\obpqpgzm.0.cs(1,1) : error CS0116: A namespace cannot directly contain members such as fields or methods [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_57116.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4036: The "SetEnvironmentVariable" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory. [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_57116.vcxproj] Determining if the CXX compiler works failed with the following output: Change Dir: C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp Run Build Command(s):C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe cmTC_46d2f.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=14.0 /v:m && Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error : The source file for this compilation can be found at: "C:\Users\Cosmo\AppData\Local\Temp\4e2bbd52-a5d2-44c0-a32c-12313d954ecb.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_46d2f.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. c:\Users\Cosmo\AppData\Local\Temp\h0w5jvty.0.cs(1,13) : error CS1040: Preprocessor directives must appear as the first non-whitespace character on a line [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_46d2f.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB3758: An error has occurred during compilation. c:\Users\Cosmo\AppData\Local\Temp\h0w5jvty.0.cs(1,1) : error CS0116: A namespace cannot directly contain members such as fields or methods [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_46d2f.vcxproj] C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\CodeAnalysis\Microsoft.CodeAnalysis.targets(219,5): error MSB4036: The "SetEnvironmentVariable" task was not found. Check the following: 1.) The name of the task in the project file is the same as the name of the task class. 2.) The task class is "public" and implements the Microsoft.Build.Framework.ITask interface. 3.) The task is correctly declared with <UsingTask> in the project file, or in the *.tasks files located in the "C:\Program Files (x86)\MSBuild\14.0\bin" directory. [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_46d2f.vcxproj]