Performing C SOURCE FILE Test HAVE_LD_VERSION_SCRIPT 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_48dd9.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. Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D HAVE_LD_VERSION_SCRIPT /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_48dd9.dir\Debug\\" /Fd"cmTC_48dd9.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue -Wl,--version-script=C:/Users/Cosmo/code/tiff-4.5.0-build/conftest.map "C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\src.c" cl : Command line error D8021: invalid numeric argument '/Wl,--version-script=C:/Users/Cosmo/code/tiff-4.5.0-build/conftest.map' [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_48dd9.vcxproj] Source file was: int main(void){return 0;} Determining if the include file strings.h exists 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_11521.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. Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24215.1 for x64 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_11521.dir\Debug\\" /Fd"cmTC_11521.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\CheckIncludeFile.c" CheckIncludeFile.c C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'strings.h': No such file or directory [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_11521.vcxproj] Determining if the include file sys/time.h exists 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_8673c.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\88d447ac-0402-4340-b9d9-177ea6aec6e2.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_8673c.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\l5cat4kw.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_8673c.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\l5cat4kw.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_8673c.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_8673c.vcxproj] Determining if the include file sys/types.h exists 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_d1bf0.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\3836f5ff-adac-4324-a667-159977e17217.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_d1bf0.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\zxzxhieq.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_d1bf0.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\zxzxhieq.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_d1bf0.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_d1bf0.vcxproj] Determining if the include file unistd.h exists 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_efa9d.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\dd7217bc-eb1b-4766-8613-9641bbd663c4.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_efa9d.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\qgwpvsyh.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_efa9d.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\qgwpvsyh.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_efa9d.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_efa9d.vcxproj] Determining if the getopt exist 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_f60ec.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\167a61bd-21a3-46e0-a188-8cc105984070.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_f60ec.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\5lkzmicf.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_f60ec.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\5lkzmicf.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_f60ec.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_f60ec.vcxproj] File C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <unistd.h> #include <stdio.h> int main(int argc, char** argv) { (void)argv; #ifndef getopt return ((int*)(&getopt))[argc]; #else (void)argc; return 0; #endif } Determining if the optarg exist 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_45b41.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\f07363c4-6ad2-4f02-941c-3b4b51780915.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_45b41.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\zvqpwhyf.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_45b41.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\zvqpwhyf.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_45b41.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_45b41.vcxproj] File C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <getopt.h> int main(int argc, char** argv) { (void)argv; #ifndef optarg return ((int*)(&optarg))[argc]; #else (void)argc; return 0; #endif } Determining if the mmap exist 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_5bf9e.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\cb5d9000-e3dd-4038-a375-1ea2eea11c39.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_5bf9e.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\d0zzzhr2.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_5bf9e.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\d0zzzhr2.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_5bf9e.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_5bf9e.vcxproj] File C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <sys/mman.h> int main(int argc, char** argv) { (void)argv; #ifndef mmap return ((int*)(&mmap))[argc]; #else (void)argc; return 0; #endif } Determining if the setmode exist 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_eee15.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\5c35442c-0f22-4fd2-a022-92bb4c5d4ec0.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_eee15.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\pxw5zl11.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_eee15.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\pxw5zl11.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_eee15.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_eee15.vcxproj] File C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CMakeTmp/CheckSymbolExists.c: /* */ #include <unistd.h> int main(int argc, char** argv) { (void)argv; #ifndef setmode return ((int*)(&setmode))[argc]; #else (void)argc; return 0; #endif } Determining if the include file stdint.h exists 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_c4321.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\1ec0954e-70e6-418e-8527-53714b616182.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_c4321.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\f0grb0sc.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_c4321.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\f0grb0sc.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_c4321.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_c4321.vcxproj] Determining if the include file stddef.h exists 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_aeb2a.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\7db1775c-9d8e-4c7e-a9c1-276894087cef.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_aeb2a.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\ndmr2raz.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_aeb2a.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\ndmr2raz.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_aeb2a.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_aeb2a.vcxproj] Determining size of size_t 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_9aeea.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\f5b3ff63-03b1-47cb-a3dc-4962f51fcaac.txt" [C:\Users\Cosmo\code\tiff-4.5.0-build\CMakeFiles\CMakeTmp\cmTC_9aeea.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\h1kird0w.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_9aeea.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\h1kird0w.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_9aeea.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_9aeea.vcxproj] C:/Users/Cosmo/code/tiff-4.5.0-build/CMakeFiles/CheckTypeSize/SIZEOF_SIZE_T.c: #include "stddef.h" #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__PPC64__) # define KEY '_','_','P','P','C','6','4','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #elif defined(__PPC__) # define KEY '_','_','P','P','C','_','_' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__aarch64__) # define KEY '_','_','a','a','r','c','h','6','4','_','_' #elif defined(__ARM_ARCH_7A__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_' #elif defined(__ARM_ARCH_7S__) # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_' #endif #define SIZE (sizeof(size_t)) static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[', ('0' + ((SIZE / 10000)%10)), ('0' + ((SIZE / 1000)%10)), ('0' + ((SIZE / 100)%10)), ('0' + ((SIZE / 10)%10)), ('0' + (SIZE % 10)), ']', #ifdef KEY ' ','k','e','y','[', KEY, ']', #endif '\0'}; #ifdef __CLASSIC_C__ int main(argc, argv) int argc; char *argv[]; #else int main(int argc, char *argv[]) #endif { int require = 0; require += info_size[argc]; (void)argv; return require; }