******************************************************************************** conan test conan-center-index\recipes\benchmark\all\test_package\conanfile.py benchmark/1.7.0@#793779ea7640290b5aed13a6e54d86fd -pr C:\J\w\prod\BuildSingleReference@3\64361\ab440ce2-e156-4f61-b875-362ba0cc9b33/profile_windows_16_md_vs_release_64.benchmark-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] benchmark:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True benchmark/1.7.0 (test package): Installing package Requirements benchmark/1.7.0 from local cache - Cache Packages benchmark/1.7.0:5ceeec4580d4e0c8ea68d3851b7223bce9200cd0 - Cache Installing (downloading, building) binaries... benchmark/1.7.0: Already installed! benchmark/1.7.0 (test package): Generator cmake created conanbuildinfo.cmake benchmark/1.7.0 (test package): Generator txt created conanbuildinfo.txt benchmark/1.7.0 (test package): Aggregating env generators benchmark/1.7.0 (test package): Generated conaninfo.txt benchmark/1.7.0 (test package): Generated graphinfo Using lockfile: 'C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a/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 benchmark/1.7.0 (test package): Calling build() ----Running------ > cd C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP8" -DCONAN_C_FLAGS="/MP8" -DCMAKE_INSTALL_PREFIX="C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\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_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package ----------------- -- The C compiler identification is MSVC 19.29.30145.0 -- The CXX compiler identification is MSVC 19.29.30145.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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: 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/prod/BuildSingleReference@3/conan-center-index/recipes/benchmark/all/test_package/build/1c56c932b4cc35d201d89f98add7ef7041e9760a ----Running------ > cmake --build C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a --config Release -- /m:8 /verbosity:minimal ----------------- 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:/J/w/prod/BuildSingleReference@3/conan-center-index/recipes/benchmark/all/test_package/CMakeLists.txt test_package.cpp LINK : warning LNK4217: symbol '?PrintDefaultHelp@benchmark@@YAXXZ (void __cdecl benchmark::PrintDefaultHelp(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function 'main' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?Initialize@benchmark@@YAXPEAHPEAPEADP6AXXZ@Z (void __cdecl benchmark::Initialize(int *,char * *,void (__cdecl*)(void)))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function 'main' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?Shutdown@benchmark@@YAXXZ (void __cdecl benchmark::Shutdown(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function 'main' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?ReportUnrecognizedArguments@benchmark@@YA_NHPEAPEAD@Z (bool __cdecl benchmark::ReportUnrecognizedArguments(int,char * *))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function 'main' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?RunSpecifiedBenchmarks@benchmark@@YA_KXZ (unsigned __int64 __cdecl benchmark::RunSpecifiedBenchmarks(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function 'main' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?RegisterBenchmarkInternal@internal@benchmark@@YAPEAVBenchmark@12@PEAV312@@Z (class benchmark::internal::Benchmark * __cdecl benchmark::internal::RegisterBenchmarkInternal(class benchmark::internal::Benchmark *))' defined in 'benchmark.lib(benchmark_register.obj)' is imported by 'test_package.obj' in function '"void __cdecl `dynamic initializer for 'benchmark_uniq_2_benchmark_''(void)" (??__Ebenchmark_uniq_2_benchmark_@@YAXXZ)' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?InitializeStreams@internal@benchmark@@YAHXZ (int __cdecl benchmark::internal::InitializeStreams(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function '"void __cdecl benchmark::internal::`dynamic initializer for 'stream_init_anchor''(void)" (??__Estream_init_anchor@internal@benchmark@@YAXXZ)' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?StartKeepRunning@State@benchmark@@AEAAXXZ (private: void __cdecl benchmark::State::StartKeepRunning(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function '"void __cdecl BM_StringCopy(class benchmark::State &)" (?BM_StringCopy@@YAXAEAVState@benchmark@@@Z)' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] LINK : warning LNK4217: symbol '?FinishKeepRunning@State@benchmark@@AEAAXXZ (private: void __cdecl benchmark::State::FinishKeepRunning(void))' defined in 'benchmark.lib(benchmark.obj)' is imported by 'test_package.obj' in function '"void __cdecl BM_StringCopy(class benchmark::State &)" (?BM_StringCopy@@YAXAEAVState@benchmark@@@Z)' [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl benchmark::internal::FunctionBenchmark::FunctionBenchmark(char const *,void (__cdecl*)(class benchmark::State &))" (__imp_??0FunctionBenchmark@internal@benchmark@@QEAA@PEBDP6AXAEAVState@2@@Z@Z) referenced in function "void __cdecl `dynamic initializer for 'benchmark_uniq_2_benchmark_''(void)" (??__Ebenchmark_uniq_2_benchmark_@@YAXXZ) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] test_package.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl benchmark::internal::FunctionBenchmark::~FunctionBenchmark(void)" (__imp_??1FunctionBenchmark@internal@benchmark@@UEAA@XZ) referenced in function "public: virtual void * __cdecl benchmark::internal::FunctionBenchmark::`scalar deleting destructor'(unsigned int)" (??_GFunctionBenchmark@internal@benchmark@@UEAAPEAXI@Z) [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\test_package.vcxproj] C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\bin\test_package.exe : fatal error LNK1120: 2 unresolved externals [C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a\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: benchmark/1.7.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\prod\BuildSingleReference@3\conan-center-index\recipes\benchmark\all\test_package\build\1c56c932b4cc35d201d89f98add7ef7041e9760a --config Release -- /m:8 /verbosity:minimal