******************************************************************************** conan install cppwinrt/2.0.221101.3@#0421885899ea0e721db574f25ede5922 --build=cppwinrt -pr C:\J\w\prod\BuildSingleReference\127622\204c1c0a-af03-4605-8308-19fa19265056/profile_windows_15_mdd_vs_debug_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J\w\prod\BuildSingleReference\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\w\prod\BuildSingleReference\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd compiler.version=15 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True winmd/1.0.210629.2: Not found in local cache, looking in remotes... winmd/1.0.210629.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz winmd/1.0.210629.2: Downloaded recipe revision 32f70fc33a6b0703244b5339a50ace30 cppwinrt/2.0.221101.3: Forced build from source Installing package: cppwinrt/2.0.221101.3 Requirements cppwinrt/2.0.221101.3 from local cache - Cache winmd/1.0.210629.2 from 'conan-center' - Downloaded Packages cppwinrt/2.0.221101.3:5b37c98d3ebadc15e2ca079af413789cbf39edf0 - Build winmd/1.0.210629.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download Installing (downloading, building) binaries... winmd/1.0.210629.2: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz winmd/1.0.210629.2: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 winmd/1.0.210629.2: Downloaded package revision e3c59fab019e113f54b51f6dac8926a8 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cppwinrt/2.0.221101.3: Configuring sources in C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\source\. cppwinrt/2.0.221101.3: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK cppwinrt/2.0.221101.3: Copying sources to build folder cppwinrt/2.0.221101.3: Building your package in C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0 cppwinrt/2.0.221101.3: Generator txt created conanbuildinfo.txt cppwinrt/2.0.221101.3: Calling generate() cppwinrt/2.0.221101.3: MSBuildToolchain created conantoolchain_debug_x64.props cppwinrt/2.0.221101.3: MSBuildToolchain writing conantoolchain.props cppwinrt/2.0.221101.3: Aggregating env generators [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 cppwinrt/2.0.221101.3: Calling build() cppwinrt/2.0.221101.3: Apply patch (conan): take conan dependencies ----Running------ > "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\conan\conanbuild.bat" && msbuild "cppwinrt.sln" /p:Configuration=Debug /p:Platform=x64 /target:prebuild;cppwinrt /p:CppWinRTBuildVersion=2.0.221101.3 ----------------- ********************************************************************** ** Visual Studio 2017 Developer Command Prompt v15.9.50 ** Copyright (c) 2017 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch. Build started 11/25/2022 2:55:31 PM. Project "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\cppwinrt.sln" on node 1 (prebuild;cppwinrt target(s)). ValidateSolutionConfiguration: Building solution configuration "Debug|x64". Project "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\cppwinrt.sln" (1) is building "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\prebuild\prebuild.vcxproj" (2) on node 1 (default targets). PrepareForBuild: Creating directory "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\". Creating directory "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\prebuild.tlog\". InitializeBuildStatus: Creating "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\prebuild.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified. ClCompile: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\CL.exe /c /I..\cppwinrt /ZI /JMC /nologo /W4 /WX- /diagnostics:classic /sdl /MP8 /Od /D "CPPWINRT_VERSION_STRING=\"2.0.221101.3\"" /Gm- /EHsc /RTC1 /MTd /GS /fp:precise /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17 /Yc"pch.h" /Fp"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\prebuild.pch" /Fo"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\\" /Fd"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\vc141.pdb" /Gd /TP /FC /errorReport:queue /await /bigobj pch.cpp pch.cpp C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\CL.exe /c /I..\cppwinrt /ZI /JMC /nologo /W4 /WX- /diagnostics:classic /sdl /MP8 /Od /D "CPPWINRT_VERSION_STRING=\"2.0.221101.3\"" /Gm- /EHsc /RTC1 /MTd /GS /fp:precise /permissive- /Zc:wchar_t /Zc:forScope /Zc:inline /std:c++17 /Yu"pch.h" /Fp"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\prebuild.pch" /Fo"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\\" /Fd"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\vc141.pdb" /Gd /TP /FC /errorReport:queue /await /bigobj main.cpp main.cpp Link: C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\prebuild.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib onecore.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG:FASTLINK /PDB:"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\prebuild.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\prebuild.lib" /MACHINE:X64 C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\main.obj C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\_build\x64\Debug\temp\prebuild\pch.obj LINK : fatal error LNK1104: cannot open file 'onecore.lib' [C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\prebuild\prebuild.vcxproj] Done Building Project "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\prebuild\prebuild.vcxproj" (default targets) -- FAILED. Done Building Project "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\cppwinrt.sln" (prebuild;cppwinrt target(s)) -- FAILED. Build FAILED. "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\cppwinrt.sln" (prebuild;cppwinrt target) (1) -> "C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\prebuild\prebuild.vcxproj" (default target) (2) -> (Link target) -> LINK : fatal error LNK1104: cannot open file 'onecore.lib' [C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\prebuild\prebuild.vcxproj] 0 Warning(s) 1 Error(s) Time Elapsed 00:00:02.94 cppwinrt/2.0.221101.3: cppwinrt/2.0.221101.3: 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 cppwinrt/2.0.221101.3: 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 cppwinrt/2.0.221101.3: ERROR: Package '5b37c98d3ebadc15e2ca079af413789cbf39edf0' build failed cppwinrt/2.0.221101.3: WARN: Build folder C:\J\w\prod\BuildSingleReference\.conan\data\cppwinrt\2.0.221101.3\_\_\build\5b37c98d3ebadc15e2ca079af413789cbf39edf0\. ERROR: cppwinrt/2.0.221101.3: Error in build() method, line 83 "prebuild", "cppwinrt"]), f"/p:CppWinRTBuildVersion={self.version}"])) ConanException: Error 1 while executing msbuild "cppwinrt.sln" /p:Configuration=Debug /p:Platform=x64 /target:prebuild;cppwinrt /p:CppWinRTBuildVersion=2.0.221101.3