******************************************************************************** conan test conan-center-index\recipes\lightpcapng\all\test_package\conanfile.py lightpcapng/cci.20211005@ --profile=C:\J\w\BuildSingleReference@3/43437/002bdf35-903d-4e60-8c4e-a7971517ca60/profile.txt ******************************************************************************** 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] lightpcapng:shared=False [build_requires] [env] lightpcapng/cci.20211005 (test package): Installing package Requirements lightpcapng/cci.20211005 from local cache - Cache zstd/1.4.5 from 'conan-center' - Cache Packages lightpcapng/cci.20211005:dd333116a690904a6f1037d28d3fcfc1352383c5 - Cache zstd/1.4.5:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Cache Installing (downloading, building) binaries... zstd/1.4.5: 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 lightpcapng/cci.20211005: 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 lightpcapng/cci.20211005 (test package): Generator cmake_paths created conan_paths.cmake lightpcapng/cci.20211005 (test package): Generator cmake created conanbuildinfo.cmake lightpcapng/cci.20211005 (test package): Generator cmake_find_package created Findlight_pcapng.cmake lightpcapng/cci.20211005 (test package): Generator cmake_find_package created Findzstd.cmake lightpcapng/cci.20211005 (test package): Generator txt created conanbuildinfo.txt lightpcapng/cci.20211005 (test package): Aggregating env generators lightpcapng/cci.20211005 (test package): Generated conaninfo.txt lightpcapng/cci.20211005 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001/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 lightpcapng/cci.20211005 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001 && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\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/lightpcapng/all/test_package/build/23a89bd46ca01b27011cb59221253b3edfe11001" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package ----------------- -- 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: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library light_pcapng found C:/J/w/BuildSingleReference@3/.conan/data/lightpcapng/cci.20211005/_/_/package/dd333116a690904a6f1037d28d3fcfc1352383c5/lib/light_pcapng.lib -- Library zstd_static found C:/J/w/BuildSingleReference@3/.conan/data/zstd/1.4.5/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zstd_static.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Using autogenerated Findlight_pcapng.cmake -- Found light_pcapng: cci.20211005 (found version "cci.20211005") -- Library light_pcapng found C:/J/w/BuildSingleReference@3/.conan/data/lightpcapng/cci.20211005/_/_/package/dd333116a690904a6f1037d28d3fcfc1352383c5/lib/light_pcapng.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/lightpcapng/cci.20211005/_/_/package/dd333116a690904a6f1037d28d3fcfc1352383c5/lib/light_pcapng.lib -- Conan: Using autogenerated Findzstd.cmake -- Found zstd: 1.4.5 (found version "1.4.5") -- Library zstd_static found C:/J/w/BuildSingleReference@3/.conan/data/zstd/1.4.5/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zstd_static.lib -- Skipping already existing target: CONAN_LIB::zstd_zstd_static -- Found: C:/J/w/BuildSingleReference@3/.conan/data/zstd/1.4.5/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zstd_static.lib -- Library zstd_static found C:/J/w/BuildSingleReference@3/.conan/data/zstd/1.4.5/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zstd_static.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/zstd/1.4.5/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/lib/zstd_static.lib -- Library light_pcapng found C:/J/w/BuildSingleReference@3/.conan/data/lightpcapng/cci.20211005/_/_/package/dd333116a690904a6f1037d28d3fcfc1352383c5/lib/light_pcapng.lib -- Found: C:/J/w/BuildSingleReference@3/.conan/data/lightpcapng/cci.20211005/_/_/package/dd333116a690904a6f1037d28d3fcfc1352383c5/lib/light_pcapng.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@3/conan-center-index/recipes/lightpcapng/all/test_package/build/23a89bd46ca01b27011cb59221253b3edfe11001 ----Running------ > cmake --build C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001 --config Release -- /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@3/conan-center-index/recipes/lightpcapng/all/test_package/CMakeLists.txt test_package.c LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng_ext.obj) : warning LNK4217: locally defined symbol __acrt_iob_func imported in function light_pcang_get_file_info [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng.obj) : warning LNK4049: locally defined symbol __acrt_iob_func imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_internal.obj) : warning LNK4049: locally defined symbol __acrt_iob_func imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng_ext.obj) : warning LNK4217: locally defined symbol __stdio_common_vfprintf imported in function fprintf [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng.obj) : warning LNK4049: locally defined symbol __stdio_common_vfprintf imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_internal.obj) : warning LNK4049: locally defined symbol __stdio_common_vfprintf imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : warning LNK4049: locally defined symbol calloc imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : warning LNK4049: locally defined symbol calloc imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng_ext.obj) : warning LNK4217: locally defined symbol calloc imported in function __alloc_option_string [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng.obj) : warning LNK4049: locally defined symbol calloc imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_alloc.obj) : warning LNK4049: locally defined symbol calloc imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_internal.obj) : warning LNK4049: locally defined symbol calloc imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_internal.obj) : warning LNK4049: locally defined symbol free imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : warning LNK4049: locally defined symbol free imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng_ext.obj) : warning LNK4217: locally defined symbol free imported in function light_free_file_info [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io.obj) : warning LNK4049: locally defined symbol free imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng.obj) : warning LNK4049: locally defined symbol free imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_alloc.obj) : warning LNK4049: locally defined symbol free imported [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : warning LNK4217: locally defined symbol fclose imported in function light_file_close [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : warning LNK4217: locally defined symbol fclose imported in function light_zstd_close_r [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : warning LNK4217: locally defined symbol fflush imported in function light_file_flush [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : warning LNK4217: locally defined symbol malloc imported in function get_zstd_compression_context [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_pcapng_ext.obj) : error LNK2019: unresolved external symbol __imp_realloc referenced in function __append_interface_block [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io.obj) : error LNK2019: unresolved external symbol __imp__stricmp referenced in function light_io_open [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : error LNK2019: unresolved external symbol __imp_fopen referenced in function light_io_file_open [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : error LNK2001: unresolved external symbol __imp_fopen [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : error LNK2019: unresolved external symbol __imp_fread referenced in function light_file_read [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : error LNK2001: unresolved external symbol __imp_fread [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : error LNK2019: unresolved external symbol __imp_fseek referenced in function light_file_seek [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_file.obj) : error LNK2019: unresolved external symbol __imp_fwrite referenced in function light_file_write [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : error LNK2001: unresolved external symbol __imp_fwrite [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] light_pcapng.lib(light_io_zstd.obj) : error LNK2019: unresolved external symbol __imp_feof referenced in function light_zstd_read [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\test_package.vcxproj] C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\bin\test_package.exe : fatal error LNK1120: 7 unresolved externals [C:\J\w\BuildSingleReference@3\conan-center-index\recipes\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001\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: lightpcapng/cci.20211005 (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\lightpcapng\all\test_package\build\23a89bd46ca01b27011cb59221253b3edfe11001 --config Release -- /m:16 /verbosity:minimal