CMakeError.log 5.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Determining size of off64_t failed with the following output:
  2. Change Dir: D:/a/1/s/externals/vcpkg/buildtrees/zlib/x64-windows-rel/CMakeFiles/CMakeTmp
  3. Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_ea4a6 && [1/2] Building C object CMakeFiles\cmTC_ea4a6.dir\OFF64_T.c.obj
  4. FAILED: CMakeFiles/cmTC_ea4a6.dir/OFF64_T.c.obj
  5. C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo -DHAVE_STDDEF_H -DHAVE_STDINT_H -DHAVE_SYS_TYPES_H -D_LARGEFILE64_SOURCE=1 /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_ea4a6.dir\OFF64_T.c.obj /FdCMakeFiles\cmTC_ea4a6.dir\ /FS -c D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c
  6. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c(29): error C2065: 'off64_t': undeclared identifier
  7. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c(30): error C2065: 'off64_t': undeclared identifier
  8. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c(31): error C2065: 'off64_t': undeclared identifier
  9. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c(32): error C2065: 'off64_t': undeclared identifier
  10. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CheckTypeSize\OFF64_T.c(33): error C2065: 'off64_t': undeclared identifier
  11. ninja: build stopped: subcommand failed.
  12. D:/a/1/s/externals/vcpkg/buildtrees/zlib/x64-windows-rel/CMakeFiles/CheckTypeSize/OFF64_T.c:
  13. #include <sys/types.h>
  14. #include <stdint.h>
  15. #include <stddef.h>
  16. #undef KEY
  17. #if defined(__i386)
  18. # define KEY '_','_','i','3','8','6'
  19. #elif defined(__x86_64)
  20. # define KEY '_','_','x','8','6','_','6','4'
  21. #elif defined(__PPC64__)
  22. # define KEY '_','_','P','P','C','6','4','_','_'
  23. #elif defined(__ppc64__)
  24. # define KEY '_','_','p','p','c','6','4','_','_'
  25. #elif defined(__PPC__)
  26. # define KEY '_','_','P','P','C','_','_'
  27. #elif defined(__ppc__)
  28. # define KEY '_','_','p','p','c','_','_'
  29. #elif defined(__aarch64__)
  30. # define KEY '_','_','a','a','r','c','h','6','4','_','_'
  31. #elif defined(__ARM_ARCH_7A__)
  32. # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','A','_','_'
  33. #elif defined(__ARM_ARCH_7S__)
  34. # define KEY '_','_','A','R','M','_','A','R','C','H','_','7','S','_','_'
  35. #endif
  36. #define SIZE (sizeof(off64_t))
  37. static char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
  38. ('0' + ((SIZE / 10000)%10)),
  39. ('0' + ((SIZE / 1000)%10)),
  40. ('0' + ((SIZE / 100)%10)),
  41. ('0' + ((SIZE / 10)%10)),
  42. ('0' + (SIZE % 10)),
  43. ']',
  44. #ifdef KEY
  45. ' ','k','e','y','[', KEY, ']',
  46. #endif
  47. '\0'};
  48. #ifdef __CLASSIC_C__
  49. int main(argc, argv) int argc; char *argv[];
  50. #else
  51. int main(int argc, char *argv[])
  52. #endif
  53. {
  54. int require = 0;
  55. require += info_size[argc];
  56. (void)argv;
  57. return require;
  58. }
  59. Determining if the function fseeko exists failed with the following output:
  60. Change Dir: D:/a/1/s/externals/vcpkg/buildtrees/zlib/x64-windows-rel/CMakeFiles/CMakeTmp
  61. Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_eba15 && [1/2] Building C object CMakeFiles\cmTC_eba15.dir\CheckFunctionExists.c.obj
  62. [2/2] Linking C executable cmTC_eba15.exe
  63. FAILED: cmTC_eba15.exe
  64. cmd.exe /C "cd . && "C:\Program Files\CMake\bin\cmake.exe" -E vs_link_exe --intdir=CMakeFiles\cmTC_eba15.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100220~1.0\x64\mt.exe --manifests -- C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_eba15.dir\CheckFunctionExists.c.obj /out:cmTC_eba15.exe /implib:cmTC_eba15.lib /pdb:cmTC_eba15.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
  65. LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_eba15.dir\CheckFunctionExists.c.obj /out:cmTC_eba15.exe /implib:cmTC_eba15.lib /pdb:cmTC_eba15.pdb /version:0.0 /machine:x64 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_eba15.dir/intermediate.manifest CMakeFiles\cmTC_eba15.dir/manifest.res" failed (exit code 1120) with the following output:
  66. CheckFunctionExists.c.obj : error LNK2019: unresolved external symbol fseeko referenced in function main
  67. cmTC_eba15.exe : fatal error LNK1120: 1 unresolved externals
  68. ninja: build stopped: subcommand failed.
  69. Determining if the include file unistd.h exists failed with the following output:
  70. Change Dir: D:/a/1/s/externals/vcpkg/buildtrees/zlib/x64-windows-rel/CMakeFiles/CMakeTmp
  71. Run Build Command(s):C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe cmTC_5529f && [1/2] Building C object CMakeFiles\cmTC_5529f.dir\CheckIncludeFile.c.obj
  72. FAILED: CMakeFiles/cmTC_5529f.dir/CheckIncludeFile.c.obj
  73. C:\PROGRA~2\MICROS~1\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe /nologo /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP /MDd /Zi /Ob0 /Od /RTC1 /showIncludes /FoCMakeFiles\cmTC_5529f.dir\CheckIncludeFile.c.obj /FdCMakeFiles\cmTC_5529f.dir\ /FS -c D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CMakeTmp\CheckIncludeFile.c
  74. D:\a\1\s\externals\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
  75. ninja: build stopped: subcommand failed.