******************************************************************************** conan test cci-c1fa7351\recipes\duckx\all\test_package\conanfile.py duckx/1.2.2@#deef5c22b2b7f299d99ac6c9dcb68ff1 -pr C:/J2/w/prod-v1/bsr/58959/ddcdb/profile_windows_16_mdd_vs_debug_64.duckx-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=16 os=Windows [options] duckx:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True duckx/1.2.2 (test package): Installing package Requirements duckx/1.2.2 from local cache - Cache kuba-zip/0.2.6 from 'conan-center' - Cache pugixml/1.14 from 'conan-center' - Cache Packages duckx/1.2.2:ab5ba51288cad3eda2a8cab3bf7bcf814def1151 - Cache kuba-zip/0.2.6:d057732059ea44a47760900cb5e4855d2bea8714 - Cache pugixml/1.14:d057732059ea44a47760900cb5e4855d2bea8714 - Cache Installing (downloading, building) binaries... kuba-zip/0.2.6: Already installed! pugixml/1.14: Already installed! duckx/1.2.2: Already installed! duckx/1.2.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' duckx/1.2.2 (test package): Generator 'CMakeDeps' calling 'generate()' duckx/1.2.2 (test package): Generator 'CMakeToolchain' calling 'generate()' duckx/1.2.2 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' duckx/1.2.2 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' duckx/1.2.2 (test package): Generator txt created conanbuildinfo.txt duckx/1.2.2 (test package): Aggregating env generators duckx/1.2.2 (test package): Generated conaninfo.txt duckx/1.2.2 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\generators/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 duckx/1.2.2 (test package): Calling build() duckx/1.2.2 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-c1fa7351/recipes/duckx/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-c1fa7351/recipes/duckx/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\." ----------------- -- Using Conan toolchain: C:/J2/w/prod-v1/bsr/cci-c1fa7351/recipes/duckx/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30148.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'duckx::duckx' -- Conan: Target declared 'pugixml::pugixml' -- Conan: Target declared 'zip::zip' -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-c1fa7351/recipes/duckx/all/test_package/build duckx/1.2.2 (test package): CMake command: cmake --build "C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build" --config Debug ----Running------ > cmake --build "C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build" --config Debug ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J2/w/prod-v1/bsr/cci-c1fa7351/recipes/duckx/all/test_package/CMakeLists.txt test_package.cpp pugixml.lib(pugixml.obj) : error LNK2005: "public: virtual __cdecl pugi::xml_writer::~xml_writer(void)" (??1xml_writer@pugi@@UEAA@XZ) already defined in duckx.lib(duckx.obj) [C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\test_package.vcxproj] pugixml.lib(pugixml.obj) : warning LNK4099: PDB 'pugixml.pdb' was not found with 'pugixml.lib(pugixml.obj)' or at 'C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\Debug\pugixml.pdb'; linking object as if no debug info [C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\test_package.vcxproj] zip.lib(zip.obj) : warning LNK4099: PDB 'zip.pdb' was not found with 'zip.lib(zip.obj)' or at 'C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\Debug\zip.pdb'; linking object as if no debug info [C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\test_package.vcxproj] C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\Debug\test_package.exe : fatal error LNK1169: one or more multiply defined symbols found [C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build\test_package.vcxproj] CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 duckx/1.2.2 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior duckx/1.2.2 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: duckx/1.2.2 (test package): Error in build() method, line 20 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J2\w\prod-v1\bsr\cci-c1fa7351\recipes\duckx\all\test_package\build" --config Debug