******************************************************************************** conan test conan-center-index\recipes\octo-logger-cpp\all\test_package\conanfile.py octo-logger-cpp/1.1.0@#68553844642c5d066d5835d4a967d2d0 -pr C:\J\w\prod\BuildSingleReference\73935\163476c6-19c5-49be-97f1-aec30e2fd764/profile_windows_16_mt_vs_release_64..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=MT compiler.version=16 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True octo-logger-cpp/1.1.0 (test package): Installing package Requirements fmt/9.0.0 from 'conan-center' - Cache octo-logger-cpp/1.1.0 from local cache - Cache Packages fmt/9.0.0:134baefbfe832fdd096d95e7bab362405800c8e2 - Cache octo-logger-cpp/1.1.0:ea344eeab4d6ad0a725cd3200202372d9eb20e27 - Cache Installing (downloading, building) binaries... fmt/9.0.0: Already installed! octo-logger-cpp/1.1.0: Already installed! octo-logger-cpp/1.1.0 (test package): Generator txt created conanbuildinfo.txt octo-logger-cpp/1.1.0 (test package): Generator 'VirtualRunEnv' calling 'generate()' octo-logger-cpp/1.1.0 (test package): Generator 'CMakeDeps' calling 'generate()' octo-logger-cpp/1.1.0 (test package): Calling generate() octo-logger-cpp/1.1.0 (test package): Aggregating env generators octo-logger-cpp/1.1.0 (test package): Generated conaninfo.txt octo-logger-cpp/1.1.0 (test package): Generated graphinfo Using lockfile: 'C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package/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 octo-logger-cpp/1.1.0 (test package): Calling build() octo-logger-cpp/1.1.0 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/octo-logger-cpp/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/octo-logger-cpp/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\." ----------------- -- Using Conan toolchain: C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/octo-logger-cpp/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is MSVC 19.29.30146.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: Component target declared 'octo::octo-logger-cpp' -- Conan: Component target declared 'fmt::fmt' -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/prod/BuildSingleReference/conan-center-index/recipes/octo-logger-cpp/all/test_package/build octo-logger-cpp/1.1.0 (test package): CMake command: cmake --build "C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build" --config Release ----Running------ > cmake --build "C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build" --config Release ----------------- 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/conan-center-index/recipes/octo-logger-cpp/all/test_package/CMakeLists.txt test_package.cpp octo-logger-cpp.lib(log.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(logger.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(sink-config.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(manager-config.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(manager.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(channel.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(sink.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(sink-factory.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(console-sink.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: __cdecl std::basic_streambuf >::basic_streambuf >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_streambuf >::~basic_streambuf >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: char * __cdecl std::basic_streambuf >::_Pninc(void)" (?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_ios >::~basic_ios >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: __cdecl std::basic_ios >::basic_ios >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: __cdecl std::basic_ostream >::basic_ostream >(class std::basic_streambuf > *,bool)" (??0?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAA@PEAV?$basic_streambuf@DU?$char_traits@D@std@@@1@_N@Z) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_ostream >::~basic_ostream >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: int __cdecl std::basic_streambuf >::sbumpc(void)" (?sbumpc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHXZ) already defined in libcpmt.lib(locale.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: int __cdecl std::basic_streambuf >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHD@Z) already defined in libcpmt.lib(locale.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: void __cdecl std::basic_ios >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: void __cdecl std::basic_ostream >::_Osfx(void)" (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in test_package.obj [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: struct _Cvtvec __cdecl std::_Locinfo::_Getcvt(void)const " (?_Getcvt@_Locinfo@std@@QEBA?AU_Cvtvec@@XZ) already defined in libcpmt.lib(locale.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getdays(void)const " (?_W_Getdays@_Locinfo@std@@QEBAPEBGXZ) already defined in libcpmt.lib(wlocale.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: unsigned short const * __cdecl std::_Locinfo::_W_Getmonths(void)const " (?_W_Getmonths@_Locinfo@std@@QEBAPEBGXZ) already defined in libcpmt.lib(wlocale.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: char __cdecl std::basic_ios >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) already defined in libcpmt.lib(cout.obj) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(manager.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(channel.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(sink.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(console-sink.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4217: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(log.obj)' in function '"void * __cdecl std::_Allocate_manually_vector_aligned(unsigned __int64)" (??$_Allocate_manually_vector_aligned@U_Default_allocate_traits@std@@@std@@YAPEAX_K@Z)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(logger.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(sink-config.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4286: symbol '_invalid_parameter_noinfo_noreturn' defined in 'libucrt.lib(invalid_parameter.obj)' is imported by 'octo-logger-cpp.lib(manager-config.obj)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4217: symbol 'toupper' defined in 'libucrt.lib(tolower_toupper.obj)' is imported by 'octo-logger-cpp.lib(log.obj)' in function '"public: static enum octo::logger::Log::LogLevel __cdecl octo::logger::Log::string_to_level(class std::basic_string,class std::allocator > const &)" (?string_to_level@Log@logger@octo@@SA?AW4LogLevel@123@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4217: symbol 'calloc' defined in 'libucrt.lib(calloc.obj)' is imported by 'octo-logger-cpp.lib(sink.obj)' in function '"protected: void __cdecl std::time_get > >::_Getvals(wchar_t,class std::_Locinfo const &)" (??$_Getvals@_W@?$time_get@DV?$istreambuf_iterator@DU?$char_traits@D@std@@@std@@@std@@IEAAX_WAEBV_Locinfo@1@@Z)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] LINK : warning LNK4217: symbol 'strftime' defined in 'libucrt.lib(strftime.obj)' is imported by 'octo-logger-cpp.lib(sink.obj)' in function '"protected: class std::basic_string,class std::allocator > __cdecl octo::logger::Sink::formatted_log(class octo::logger::Log const &,class octo::logger::Channel const &)const " (?formatted_log@Sink@logger@octo@@IEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVLog@23@AEBVChannel@23@@Z)' [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp.lib(sink.obj) : error LNK2019: unresolved external symbol __imp__localtime64 referenced in function "protected: class std::basic_string,class std::allocator > __cdecl octo::logger::Sink::formatted_log(class octo::logger::Log const &,class octo::logger::Channel const &)const " (?formatted_log@Sink@logger@octo@@IEBA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBVLog@23@AEBVChannel@23@@Z) [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\Release\test_package.exe : fatal error LNK1120: 1 unresolved externals [C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build\test_package.vcxproj] octo-logger-cpp/1.1.0: WARN: octo-logger-cpp requires C++17. Your compiler is unknown. Assuming it supports C++17. octo-logger-cpp/1.1.0 (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 octo-logger-cpp/1.1.0 (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: octo-logger-cpp/1.1.0 (test package): Error in build() method, line 23 cmake.build() ConanException: Error 1 while executing cmake --build "C:\J\w\prod\BuildSingleReference\conan-center-index\recipes\octo-logger-cpp\all\test_package\build" --config Release