******************************************************************************** conan test conan-center-index\recipes\zint\all\test_package\conanfile.py zint/2.10.0@ --profile=C:\J\w\BuildSingleReference@3/46525/494f7891-fd35-462a-8a7b-024b6539dd91/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=16 os=Windows [options] zint:shared=True [build_requires] [env] zint/2.10.0 (test package): Installing package Requirements libpng/1.6.37 from 'conan-center' - Cache zint/2.10.0 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Packages libpng/1.6.37:c91944d5ebaf4e45db68ccd31554454862bd945c - Cache zint/2.10.0:d1598d8ecc938a8d1c5ee3da2b77a9cbf6f93cdc - Cache zlib/1.2.11:a79a557254fabcb77849dd623fed97c9c5ab7651 - Cache Installing (downloading, building) binaries... zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK libpng/1.6.37: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zint/2.10.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK zint/2.10.0 (test package): Generator cmake created conanbuildinfo.cmake zint/2.10.0 (test package): Generator cmake_find_package created Findzint.cmake zint/2.10.0 (test package): Generator cmake_find_package created FindPNG.cmake zint/2.10.0 (test package): Generator cmake_find_package created FindZLIB.cmake zint/2.10.0 (test package): Generator txt created conanbuildinfo.txt zint/2.10.0 (test package): Generator cmake_find_package_multi created zint-config-version.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created zint-config.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created zintTargets.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created zintTarget-release.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created PNGConfigVersion.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created PNGConfig.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created PNGTargets.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created PNGTarget-release.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created ZLIBConfigVersion.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created ZLIBConfig.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created ZLIBTargets.cmake zint/2.10.0 (test package): Generator cmake_find_package_multi created ZLIBTarget-release.cmake zint/2.10.0 (test package): Aggregating env generators zint/2.10.0 (test package): Generated conaninfo.txt zint/2.10.0 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0/conan.lock' Using cached profile from lockfile [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 zint/2.10.0 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0 && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\package" -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_MODULE_PATH="C:/J/w/BuildSingleReference@3/conan-center-index/recipes/zint/all/test_package/build/b5621b340f78b9baadf8dc9981bb0fbd929b78d0" -DCMAKE_PREFIX_PATH="C:/J/w/BuildSingleReference@3/conan-center-index/recipes/zint/all/test_package/build/b5621b340f78b9baadf8dc9981bb0fbd929b78d0" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package ----------------- -- The C compiler identification is MSVC 19.28.29333.0 -- The CXX compiler identification is MSVC 19.28.29333.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/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/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/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: Using autogenerated Findzint.cmake -- Found zint: 2.10.0 (found version "2.10.0") -- Library zint found C:/J/w/BuildSingleReference@3/.conan/data/zint/2.10.0/_/_/package/d1598d8ecc938a8d1c5ee3da2b77a9cbf6f93cdc/lib/zint.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/zint/2.10.0/_/_/package/d1598d8ecc938a8d1c5ee3da2b77a9cbf6f93cdc/lib/zint.lib -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.11 (found version "1.2.11") -- Library zlib found C:/J/w/BuildSingleReference@3/.conan/data/zlib/1.2.11/_/_/package/a79a557254fabcb77849dd623fed97c9c5ab7651/lib/zlib.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/zlib/1.2.11/_/_/package/a79a557254fabcb77849dd623fed97c9c5ab7651/lib/zlib.lib -- Conan: Using autogenerated FindPNG.cmake -- Found PNG: 1.6.37 (found version "1.6.37") -- Library libpng16 found C:/J/w/BuildSingleReference@3/.conan/data/libpng/1.6.37/_/_/package/c91944d5ebaf4e45db68ccd31554454862bd945c/lib/libpng16.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/libpng/1.6.37/_/_/package/c91944d5ebaf4e45db68ccd31554454862bd945c/lib/libpng16.lib -- Dependency ZLIB already found -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@3/conan-center-index/recipes/zint/all/test_package/build/b5621b340f78b9baadf8dc9981bb0fbd929b78d0 ----Running------ > cmake --build C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0 --config Release -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@3/conan-center-index/recipes/zint/all/test_package/CMakeLists.txt test_package.c C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\test_package.c(1014,44): warning C4244: '=': conversion from 'int' to 'float', possible loss of data [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol getopt_long referenced in function main [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol optarg referenced in function main [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol optind referenced in function main [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\test_package.vcxproj] C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\bin\test_package.exe : fatal error LNK1120: 3 unresolved externals [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0\test_package.vcxproj] 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: zint/2.10.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@3\conan-center-index\recipes\zint\all\test_package\build\b5621b340f78b9baadf8dc9981bb0fbd929b78d0 --config Release -- /m:16 /verbosity:minimal