Performing C++ SOURCE FILE Test LTO_AVAILABLE failed with the following output: Change Dir: C:/Users/szymon/Desktop/osrm-backend-5.18.0/osrm-backend-5.18.0/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_d9d91.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. Build started 2018-10-24 11:16:48. Project "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_d9d91.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_d9d91.dir\Debug\". Creating directory "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_d9d91.dir\Debug\cmTC_d9d91.tlog\". InitializeBuildStatus: Creating "cmTC_d9d91.dir\Debug\cmTC_d9d91.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D LTO_AVAILABLE /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_d9d91.dir\Debug\\" /Fd"cmTC_d9d91.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue -Wl,-flto "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\src.cxx" 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 WIN32 /D _WINDOWS /D LTO_AVAILABLE /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_d9d91.dir\Debug\\" /Fd"cmTC_d9d91.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue -Wl,-flto "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\src.cxx" cl : Command line error D8021: invalid numeric argument '/Wl,-flto' [C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_d9d91.vcxproj] Done Building Project "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_d9d91.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_d9d91.vcxproj" (default target) (1) -> (ClCompile target) -> cl : Command line error D8021: invalid numeric argument '/Wl,-flto' [C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_d9d91.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.33 Source file was: int main() { return 0;} Determining if the include file pthread.h exists failed with the following output: Change Dir: C:/Users/szymon/Desktop/osrm-backend-5.18.0/osrm-backend-5.18.0/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_31c50.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0" Microsoft (R) Build Engine version 14.0.25420.1 Copyright (C) Microsoft Corporation. All rights reserved. Build started 2018-10-24 11:16:48. Project "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_31c50.vcxproj" on node 1 (default targets). PrepareForBuild: Creating directory "cmTC_31c50.dir\Debug\". Creating directory "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\Debug\". Creating directory "cmTC_31c50.dir\Debug\cmTC_31c50.tlog\". InitializeBuildStatus: Creating "cmTC_31c50.dir\Debug\cmTC_31c50.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_31c50.dir\Debug\\" /Fd"cmTC_31c50.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c" 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 WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_31c50.dir\Debug\\" /Fd"cmTC_31c50.dir\Debug\vc140.pdb" /Gd /TC /errorReport:queue "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c" CheckIncludeFile.c C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_31c50.vcxproj] Done Building Project "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_31c50.vcxproj" (default targets) -- FAILED. Build FAILED. "C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_31c50.vcxproj" (default target) (1) -> (ClCompile target) -> C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [C:\Users\szymon\Desktop\osrm-backend-5.18.0\osrm-backend-5.18.0\build\CMakeFiles\CMakeTmp\cmTC_31c50.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:00.35