microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
22.82k stars 6.3k forks source link

[tbb:x86-windows-static] build failure #13648

Closed fawdlstty closed 2 years ago

fawdlstty commented 3 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: ./vcpkg install tbb:x86-windows-static

Failure logs

C:\Users\Administrator>vcpkg install tbb:x86-windows-static
Your feedback is important to improve Vcpkg! Please take 3 minutes to complete o
ur survey by running: vcpkg contact --survey
Computing installation plan...
The following packages will be built and installed:
    tbb[core]:x86-windows-static
Warning: The following VS instances are excluded because the English language pa
ck is unavailable.
    E:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    E:\Software\Microsoft Visual Studio 12.0\
Please install the English language pack.
Starting package 1/1: tbb:x86-windows-static
Building package tbb[core]:x86-windows-static...
-- Using community triplet x86-windows-static. This triplet configuration is not
 guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\GitHub\vcpkg\triplets\comm
unity\x86-windows-static.cmake
-- Using cached D:/GitHub/vcpkg/downloads/oneapi-src-oneTBB-427c252e0bb9e191767a
62d8a744b21950c343f6.tar.gz
-- Cleaning sources at D:/GitHub/vcpkg/buildtrees/tbb/src/1950c343f6-81f8b97441.
clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/GitHub/vcpkg/downloads/oneapi-src-oneTBB-427c252e0bb9e19
1767a62d8a744b21950c343f6.tar.gz
-- Applying patch fix-static-build.patch
-- Applying patch terminate-when-buildtool-notfound.patch
-- Using source at D:/GitHub/vcpkg/buildtrees/tbb/src/1950c343f6-81f8b97441.clea
n
-- Building build/vs2013/makefile.sln for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:85 (message):
    Command failed: msbuild D:/GitHub/vcpkg/buildtrees/tbb/x86-windows-static-re
l/1950c343f6-81f8b97441.clean/build/vs2013/makefile.sln /p:Configuration=Release
-MT /t:Rebuild /p:Platform=Win32 /p:PlatformToolset=v141 /p:VCPkgLocalAppDataDis
abled=true /p:UseIntelMKL=No /p:WindowsTargetPlatformVersion=10.0.18362.0 /p:Vcp
kgTriplet=x86-windows-static /p:VcpkgCurrentInstalledDir=D:/GitHub/vcpkg/install
ed/x86-windows-static /p:VcpkgManifestInstall=false /m /p:WholeProgramOptimizati
on=false
    Working Directory: D:/GitHub/vcpkg/buildtrees/tbb/x86-windows-static-rel/195
0c343f6-81f8b97441.clean
    Error code: 1
    See logs for more information:
      D:\GitHub\vcpkg\buildtrees\tbb\build-x86-windows-static-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_install_msbuild.cmake:162 (vcpkg_execute_required_process)

  ports/tbb/portfile.cmake:62 (vcpkg_install_msbuild)
  scripts/ports.cmake:79 (include)

Error: Building package tbb:x86-windows-static failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `.\vcpkg update`, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
  Package: tbb:x86-windows-static
  Vcpkg version: 2020.06.15-nohash

Additionally, attach any relevant sections from the log files above.

C:\Users\Administrator>

D:\GitHub\vcpkg\buildtrees\tbb\build-x86-windows-static-rel-out.log:

用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2020/9/22 星期二 11:34:20。
     1>项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”在节点 1 上(Rebuild 个目标)。
     1>ValidateSolutionConfiguration:
         正在生成解决方案配置“Release-MT|Win32”。
     1>项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(1)正在节点 1 上生成“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj”(2) (Rebuild 个目标)。
     2>CoreClean:
         正在创建目录“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\”。
       PrepareForBuild:
         正在创建目录“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\Release-MT\”。
         正在创建目录“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb.tlog\”。
       InitializeBuildStatus:
         正在创建“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。
       CustomBuild:
         generating tbb.def file
         win32-tbb-export.def
     1>项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(1)正在节点 2 上生成“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbbmalloc.vcxproj”(3) (Rebuild 个目标)。
     3>CoreClean:
         正在创建目录“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbbmalloc\Release-MT\”。
     1>项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(1)正在节点 3 上生成“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbbmalloc_proxy.vcxproj”(4) (Rebuild 个目标)。
     4>CoreClean:
         正在创建目录“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbbmalloc_proxy\Release-MT\”。
     2>_MASM:
         Assembling ..\..\src\tbb\ia32-masm\atomic_support.asm...
         cmd.exe /C "C:\Users\Administrator\AppData\Local\Temp\tmpe5ab9436b99445f886d1066560ba463a.cmd"
         ml.exe /c /nologo /safeseh /Zi /Fo"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\atomic_support.obj" /W3 /errorReport:prompt /coff /Ta"..\..\src\tbb\ia32-masm\atomic_support.asm"
       _MASM:
         Assembling ..\..\src\tbb\ia32-masm\itsx.asm...
         cmd.exe /C "C:\Users\Administrator\AppData\Local\Temp\tmp7c245506282e4ac9944ae2227aa2da6f.cmd"
         ml.exe /c /nologo /safeseh /Zi /Fo"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\itsx.obj" /W3 /errorReport:prompt /coff /Ta"..\..\src\tbb\ia32-masm\itsx.asm"
       _MASM:
         Assembling ..\..\src\tbb\ia32-masm\lock_byte.asm...
         cmd.exe /C "C:\Users\Administrator\AppData\Local\Temp\tmpa3a18b38501445649a875067b025556c.cmd"
         ml.exe /c /nologo /safeseh /Zi /Fo"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\lock_byte.obj" /W3 /errorReport:prompt /coff /Ta"..\..\src\tbb\ia32-masm\lock_byte.asm"
       ClCompile:
         D:\Software\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x86\CL.exe /c /I. /Zi /nologo /W4 /WX- /diagnostics:classic /O2 /Oy- /Gm- /EHsc /MT /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\\" /Fd"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb.pdb" /Gd /TP /analyze- /FC /errorReport:queue   /c /MT /O2 /Zi /EHsc /GR /Zc:forScope /Zc:wchar_t /DTBB_SUPPRESS_DEPRECATED_MESSAGES=1 /D__TBB_LIB_NAME=tbb.lib /DDO_ITT_NOTIFY /GS /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /DIN_CILK_STATIC /D_WIN32_WINNT=0x0502 /D__TBB_BUILD=1 /W4 /I../../src /I../../src/rml/include /I../../include ..\..\src\tbb\concurrent_hash_map.cpp ..\..\src\tbb\concurrent_queue.cpp ..\..\src\tbb\concurrent_vector.cpp ..\..\src\tbb\dynamic_link.cpp ..\..\src\tbb\itt_notify.cpp ..\..\src\tbb\cache_aligned_allocator.cpp ..\..\src\tbb\pipeline.cpp ..\..\src\tbb\queuing_mutex.cpp ..\..\src\tbb\queuing_rw_mutex.cpp ..\..\src\tbb\reader_writer_lock.cpp ..\..\src\tbb\spin_rw_mutex.cpp ..\..\src\tbb\x86_rtm_rw_mutex.cpp ..\..\src\tbb\spin_mutex.cpp ..\..\src\tbb\critical_section.cpp ..\..\src\tbb\mutex.cpp ..\..\src\tbb\recursive_mutex.cpp ..\..\src\tbb\condition_variable.cpp ..\..\src\tbb\tbb_thread.cpp ..\..\src\tbb\concurrent_monitor.cpp ..\..\src\tbb\semaphore.cpp ..\..\src\tbb\private_server.cpp ..\..\src\rml\client\rml_tbb.cpp ..\..\src\tbb\tbb_misc.cpp ..\..\src\tbb\tbb_misc_ex.cpp ..\..\src\tbb\task.cpp ..\..\src\tbb\task_group_context.cpp ..\..\src\tbb\governor.cpp ..\..\src\tbb\market.cpp ..\..\src\tbb\arena.cpp ..\..\src\tbb\scheduler.cpp ..\..\src\tbb\observer_proxy.cpp ..\..\src\tbb\tbb_statistics.cpp ..\..\src\tbb\tbb_main.cpp ..\..\src\old\concurrent_vector_v2.cpp ..\..\src\old\concurrent_queue_v2.cpp ..\..\src\old\spin_rw_mutex_v2.cpp ..\..\src\old\task_v2.cpp
         concurrent_hash_map.cpp
         concurrent_queue.cpp
         concurrent_vector.cpp
         dynamic_link.cpp
         itt_notify.cpp
         cache_aligned_allocator.cpp
         pipeline.cpp
         queuing_mutex.cpp
         queuing_rw_mutex.cpp
         reader_writer_lock.cpp
         spin_rw_mutex.cpp
         x86_rtm_rw_mutex.cpp
         spin_mutex.cpp
         critical_section.cpp
         mutex.cpp
         recursive_mutex.cpp
         condition_variable.cpp
         tbb_thread.cpp
         concurrent_monitor.cpp
         semaphore.cpp
         Generating Code...
         Compiling...
         private_server.cpp
         rml_tbb.cpp
         tbb_misc.cpp
         tbb_misc_ex.cpp
         task.cpp
         task_group_context.cpp
         governor.cpp
         market.cpp
         arena.cpp
         scheduler.cpp
         observer_proxy.cpp
         tbb_statistics.cpp
         tbb_main.cpp
         concurrent_vector_v2.cpp
         concurrent_queue_v2.cpp
         spin_rw_mutex_v2.cpp
         task_v2.cpp
         Generating Code...
       ResourceCompile:
         D:\Windows Kits\10\bin\10.0.18362.0\x64\rc.exe /l"0x0409" /nologo /fo"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_resource.res" /I../../src /I../../include /DDO_ITT_NOTIFY /DUSE_WINTHREAD /D_CRT_SECURE_NO_DEPRECATE /DIN_CILK_STATIC /D_WIN32_WINNT=0x0400  ..\..\src\tbb\tbb_resource.rc 
       Lib:
         D:\Software\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x86\Lib.exe /OUT:"D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\Release-MT\tbb.lib" /NOLOGO "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_resource.res"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_hash_map.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_queue.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_vector.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\dynamic_link.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\itt_notify.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\cache_aligned_allocator.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\pipeline.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\queuing_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\queuing_rw_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\reader_writer_lock.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\spin_rw_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\x86_rtm_rw_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\spin_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\critical_section.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\recursive_mutex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\condition_variable.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_thread.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_monitor.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\semaphore.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\private_server.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\rml_tbb.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_misc.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_misc_ex.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\task.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\task_group_context.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\governor.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\market.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\arena.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\scheduler.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\observer_proxy.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_statistics.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\tbb_main.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_vector_v2.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_queue_v2.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\spin_rw_mutex_v2.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\task_v2.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\atomic_support.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\itsx.obj"
         "D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\lock_byte.obj"
     2>LINK : warning LNK4068: /MACHINE not specified; defaulting to X64 [D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj]
     2>D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_hash_map.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' [D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj]
     2>已完成生成项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj”(Rebuild 个目标)的操作 - 失败。
     3>已完成生成项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbbmalloc.vcxproj”(Rebuild 个目标)的操作 - 失败。
     4>已完成生成项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbbmalloc_proxy.vcxproj”(Rebuild 个目标)的操作 - 失败。
     1>已完成生成项目“D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(Rebuild 个目标)的操作 - 失败。

生成失败。

       “D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(Rebuild 目标) (1) ->
       “D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj”(Rebuild 目标) (2) ->
       (Lib 目标) -> 
         LINK : warning LNK4068: /MACHINE not specified; defaulting to X64 [D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj]

       “D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\makefile.sln”(Rebuild 目标) (1) ->
       “D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj”(Rebuild 目标) (2) ->
       (Lib 目标) -> 
         D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_hash_map.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' [D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\tbb.vcxproj]

    1 个警告
    1 个错误

已用时间 00:00:37.57

Additional context

JackBoosY commented 3 years ago
D:\GitHub\vcpkg\buildtrees\tbb\x86-windows-static-rel\1950c343f6-81f8b97441.clean\build\vs2013\Win32\tbb\Release-MT\concurrent_hash_map.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'

Please make sure you've installed English Language Package using Visual Studio Installer.

Thanks.

fawdlstty commented 3 years ago

It's installed, There is no problem installing other packages

fawdlstty commented 3 years ago

LINK : warning LNK4068: /MACHINE not specified; defaulting to X64 fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64' question may be here

JackBoosY commented 3 years ago

Oh, the community triple may have some problems with configuration parameters, but it's unofficial.

JonLiu1993 commented 2 years ago

@fawdlstty ,Thanks for posting this issue ,I can successfully install tbb:x86-windows-static with the latest vcpkg, I temporarily close this issue, if it is still an issue, please reopen this issue.

-- Building build/vs2013/makefile.sln for Debug
-- Installing: F:/test9/vcpkg/packages/tbb_x86-windows-static/share/tbb/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\vzhli17\AppData\Local\vcpkg\archives\99\99c5027c0e0b7b9dcd7f2e42f2fc4fac76dea43c423aa2f70e86da201f31bbba.zip
Installing package tbb[core]:x86-windows-static...
Elapsed time for package tbb:x86-windows-static: 35.47 s

Total elapsed time: 38.28 s

The package tbb provides CMake targets:

    find_package(TBB CONFIG REQUIRED)
    target_link_libraries(main PRIVATE TBB::tbb)