******************************************************************************** conan install zlib/1.2.11@ --profile=C:\J\w\BuildSingleReference@2/10789/d46314a8-9be7-4ccf-b97d-30dbbb8d22f0/profile.txt --build=zlib ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows os_build=Windows [options] zlib:shared=True [build_requires] [env] zlib/1.2.11: Forced build from source Installing package: zlib/1.2.11 Requirements zlib/1.2.11 from local cache - Cache Packages zlib/1.2.11:f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 - Build Installing (downloading, building) binaries... zlib/1.2.11: Copying sources to build folder zlib/1.2.11: Building your package in C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 zlib/1.2.11: Generator cmake created conanbuildinfo.cmake [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK zlib/1.2.11: Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 ----------------- -- The C compiler identification is MSVC 19.16.27035.0 -- The CXX compiler identification is MSVC 19.16.27035.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan CMake Wrapper -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of off64_t -- Check size of off64_t - failed -- Looking for fseeko -- Looking for fseeko - not found -- Looking for unistd.h -- Looking for unistd.h - not found -- Renaming -- C:/J/w/BuildSingleReference@2/.conan/data/zlib/1.2.11/_/_/build/f42ebec2d0ee7d5c41713cd8eee15cf988b0d202/source_subfolder/zconf.h -- to 'zconf.h.included' because this file is included with zlib -- but CMake generates it automatically in the build directory. -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@2/.conan/data/zlib/1.2.11/_/_/build/f42ebec2d0ee7d5c41713cd8eee15cf988b0d202/build_subfolder ----Running------ > cmake --build C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder --config Release --target zlib -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/zlib/1.2.11/_/_/build/f42ebec2d0ee7d5c41713cd8eee15cf988b0d202/source_subfolder/CMakeLists.txt adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c inflate.c infback.c inftrees.c inffast.c trees.c uncompr.c zutil.c C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzread.c(319): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzread.c(400): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzread.c(472): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzwrite.c(212): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzwrite.c(232): warning C4267: '=': conversion from 'size_t' to 'unsigned int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\source_subfolder\gzwrite.c(371): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data [C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\source_subfolder\zlib.vcxproj] Creating library C:/J/w/BuildSingleReference@2/.conan/data/zlib/1.2.11/_/_/build/f42ebec2d0ee7d5c41713cd8eee15cf988b0d202/build_subfolder/lib/zlib.lib and object C:/J/w/BuildSingleReference@2/.conan/data/zlib/1.2.11/_/_/build/f42ebec2d0ee7d5c41713cd8eee15cf988b0d202/build_subfolder/lib/zlib.exp zlib.vcxproj -> C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\build_subfolder\bin\zlib1.dll zlib/1.2.11: Package 'f42ebec2d0ee7d5c41713cd8eee15cf988b0d202' built zlib/1.2.11: Build folder C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\build\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 zlib/1.2.11: Generated conaninfo.txt zlib/1.2.11: Generated conanbuildinfo.txt zlib/1.2.11: Generating the package zlib/1.2.11: Package folder C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202 zlib/1.2.11: Calling package() CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR ERROR: zlib/1.2.11: Error in package() method, line 124 self._rename_libraries() while calling '_rename_libraries', line 86 tools.rename(current_lib, os.path.join(lib_path, "zlib.lib")) ConanException: rename C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\lib\zlib.lib to C:\J\w\BuildSingleReference@2\.conan\data\zlib\1.2.11\_\_\package\f42ebec2d0ee7d5c41713cd8eee15cf988b0d202\lib\zlib.lib failed, dst exists.