Determining size of off64_t failed with the following output: Change Dir: C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec4005564065.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine версии 12.0.30723.0 [Microsoft .NET Framework версии 4.0.30319.34209] (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены. Сборка начата 22.11.2015 14:01:31. Проект "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj" в узле 1 (целевые объекты по умолчанию). PrepareForBuild: Создание каталога "cmTryCompileExec4005564065.dir\Debug\". Создание каталога "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\". Создание каталога "cmTryCompileExec4005564065.dir\Debug\cmTryCom.DA2A3D6B.tlog\". InitializeBuildStatus: Создание "cmTryCompileExec4005564065.dir\Debug\cmTryCom.DA2A3D6B.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate". ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D _LARGEFILE64_SOURCE=1 /D HAVE_SYS_TYPES_H /D HAVE_STDINT_H /D HAVE_STDDEF_H /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec4005564065.dir\Debug\\" /Fd"cmTryCompileExec4005564065.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c" Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D _LARGEFILE64_SOURCE=1 /D HAVE_SYS_TYPES_H /D HAVE_STDINT_H /D HAVE_STDDEF_H /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec4005564065.dir\Debug\\" /Fd"cmTryCompileExec4005564065.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c" OFF64_T.c C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] Сборка проекта "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой. Ошибка сборки. "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj" (целевой объект по умолчанию) (1) -> (Целевой объект ClCompile) -> C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(19): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(20): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(21): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(22): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CheckTypeSize\OFF64_T.c(23): error C2065: 'off64_t' : undeclared identifier [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec4005564065.vcxproj] Предупреждений: 0 Ошибок: 5 Затраченное время: 00:00:00.32 C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CheckTypeSize/OFF64_T.c: #include #include #include #undef KEY #if defined(__i386) # define KEY '_','_','i','3','8','6' #elif defined(__x86_64) # define KEY '_','_','x','8','6','_','6','4' #elif defined(__ppc__) # define KEY '_','_','p','p','c','_','_' #elif defined(__ppc64__) # define KEY '_','_','p','p','c','6','4','_','_' #endif #define SIZE (sizeof(off64_t)) 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; } Determining if the function fseeko exists failed with the following output: Change Dir: C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec3583564073.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine версии 12.0.30723.0 [Microsoft .NET Framework версии 4.0.30319.34209] (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены. Сборка начата 22.11.2015 14:01:31. Проект "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj" в узле 1 (целевые объекты по умолчанию). PrepareForBuild: Создание каталога "cmTryCompileExec3583564073.dir\Debug\". Создание каталога "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\". Создание каталога "cmTryCompileExec3583564073.dir\Debug\cmTryCom.26D4C6D3.tlog\". InitializeBuildStatus: Создание "cmTryCompileExec3583564073.dir\Debug\cmTryCom.26D4C6D3.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate". ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=fseeko /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3583564073.dir\Debug\\" /Fd"cmTryCompileExec3583564073.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files (x86)\CMake\share\cmake-3.1\Modules\CheckFunctionExists.c" Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=fseeko /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec3583564073.dir\Debug\\" /Fd"cmTryCompileExec3583564073.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Program Files (x86)\CMake\share\cmake-3.1\Modules\CheckFunctionExists.c" CheckFunctionExists.c Link: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3583564073.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3583564073.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec3583564073.lib" /MACHINE:X86 /SAFESEH /machine:X86 /debug cmTryCompileExec3583564073.dir\Debug\CheckFunctionExists.obj CheckFunctionExists.obj : error LNK2019: unresolved external symbol _fseeko referenced in function _main [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3583564073.exe : fatal error LNK1120: 1 unresolved externals [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj] Сборка проекта "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой. Ошибка сборки. "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj" (целевой объект по умолчанию) (1) -> (Целевой объект Link) -> CheckFunctionExists.obj : error LNK2019: unresolved external symbol _fseeko referenced in function _main [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj] C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\cmTryCompileExec3583564073.exe : fatal error LNK1120: 1 unresolved externals [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec3583564073.vcxproj] Предупреждений: 0 Ошибок: 2 Затраченное время: 00:00:00.44 Determining if the include file unistd.h exists failed with the following output: Change Dir: C:/Workplace/libs/zlib-1.2.8/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/MSBuild/12.0/bin/MSBuild.exe" "cmTryCompileExec2826006430.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=12.0" Microsoft (R) Build Engine версии 12.0.30723.0 [Microsoft .NET Framework версии 4.0.30319.34209] (C) Корпорация Майкрософт (Microsoft Corporation). Все права защищены. Сборка начата 22.11.2015 14:01:32. Проект "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec2826006430.vcxproj" в узле 1 (целевые объекты по умолчанию). PrepareForBuild: Создание каталога "cmTryCompileExec2826006430.dir\Debug\". Создание каталога "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\Debug\". Создание каталога "cmTryCompileExec2826006430.dir\Debug\cmTryCom.52599DD3.tlog\". InitializeBuildStatus: Создание "cmTryCompileExec2826006430.dir\Debug\cmTryCom.52599DD3.tlog\unsuccessfulbuild", так как было задано "AlwaysCreate". ClCompile: C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\bin\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2826006430.dir\Debug\\" /Fd"cmTryCompileExec2826006430.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\CheckIncludeFile.c" Microsoft (R) C/C++ Optimizing Compiler Version 18.00.30723 for x86 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /Zi /W3 /WX- /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Fo"cmTryCompileExec2826006430.dir\Debug\\" /Fd"cmTryCompileExec2826006430.dir\Debug\vc120.pdb" /Gd /TC /analyze- /errorReport:queue "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\CheckIncludeFile.c" CheckIncludeFile.c C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec2826006430.vcxproj] Сборка проекта "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec2826006430.vcxproj" завершена (целевые объекты по умолчанию) с ошибкой. Ошибка сборки. "C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec2826006430.vcxproj" (целевой объект по умолчанию) (1) -> (Целевой объект ClCompile) -> C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [C:\Workplace\libs\zlib-1.2.8\CMakeFiles\CMakeTmp\cmTryCompileExec2826006430.vcxproj] Предупреждений: 0 Ошибок: 1 Затраченное время: 00:00:00.25