| 网站首页 | 业界新闻 | 群组 | 交易 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
共有 334 人关注过本帖
标题:请问用vcpkg安装包atkmm:x64-windows报错,是怎么回事?报错信息如下
只看楼主 加入收藏
guow
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2019-1-17
结帖率:100%
  问题点数:0  回复次数:1   
请问用vcpkg安装包atkmm:x64-windows报错,是怎么回事?报错信息如下
程序代码:
Starting package 15/18: atkmm:x64-windows
Building package atkmm[core]:x64-windows...
-- Downloading http://ftp.gnome.org/pub/GNOME/sources/atkmm/2.24/atkmm-2.24.2.tar.xz...
-- Extracting source D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/downloads/atkmm-2.24.2.tar.xz
-- Applying patch D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/ports/atkmm/fix_properties.patch
-- Applying patch D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/ports/atkmm/fix_charset.patch
-- Building D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/buildtrees/atkmm/src/atkmm-2.24.2/MSVC_Net2013/atkmm.sln for Release
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:56 (message):
    Command failed: msbuild;D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/buildtrees/atkmm/src/atkmm-2.24.2/MSVC_Net2013/atkmm.sln;/p:Configuration=Release;/t:atkmm;/p:Platform=x64;/p:PlatformToolset=v141;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/p:WindowsTargetPlatformVersion=10.0.17763.0;/m;/p:ForceImportBeforeCppTargets=D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/scripts/buildsystems/msbuild/vcpkg.targets;/p:VcpkgTriplet=x64-windows
    Working Directory: D:/Program Files (x86)/Microsoft Visual Studio/vcpkg/buildtrees/atkmm/x64-windows-rel
    See logs for more information:
      D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\build-x64-windows-rel-out.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_build_msbuild.cmake:119 (vcpkg_execute_required_process)
  ports/atkmm/portfile.cmake:27 (vcpkg_build_msbuild)
  scripts/ports.cmake:71 (include)


Error: Building package atkmm:x64-windows 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: atkmm:x64-windows
  Vcpkg version: 2018.11.23-nohash
2019-01-18 09:09
guow
Rank: 1
等 级:新手上路
帖 子:3
专家分:0
注 册:2019-1-17
  得分:0 
下面是build-x64-windows-rel-out.log
程序代码:
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 15.9.21+g9802d43bc3
版权所有(C) Microsoft Corporation。保留所有权利。

生成启动时间为 2019/1/18 18:52:14
     1>项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.sln”在节点 1 上(atkmm 个目标)。
     1>ValidateSolutionConfiguration:
         正在生成解决方案配置“Release|x64”。
     1>项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.sln”(1)正在节点 1 上生成“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj”(2) (默认目标)。
     2>项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj”(2)正在节点 1 上生成“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\gendef.vcxproj”(3) (默认目标)。
     3>PrepareForBuild:
         正在创建目录“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\”。
         正在创建目录“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\”。
         正在创建目录“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.tlog\”。
       InitializeBuildStatus:
         正在创建“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。
       VcpkgTripletSelection:
         Using triplet "x64-windows" from "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\"
       ClCompile:
         D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\CL.exe /c /I.\atkmm /I..\atk /I. /I"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\include" /Zi /nologo /W3 /WX- /diagnostics:classic /MP /O2 /D _UNICODE /D UNICODE /Gm- /EHsc /MT /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\\" /Fd"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\vc141.pdb" /Gd /TP /FImsvc_recommended_pragmas.h /FC /errorReport:queue /d2Zi+ .\gendef\gendef.cc
         gendef.cc
       Link:
         D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\gendef.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\lib" /LIBPATH:"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\lib\manual-link" kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\lib\*.lib" /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\gendef.pdb" /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /TLBID:1 /DYNAMICBASE:NO /IMPLIB:"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\gendef.lib" /MACHINE:X64 "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.obj"
         gendef.vcxproj -> D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\gendef.exe
       AppLocalFromInstalled:
         C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -noprofile -File "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\scripts\buildsystems\msbuild\applocal.ps1" "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\gendef.exe" "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\bin" "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.tlog\gendef.write.1u.tlog" "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\vcpkg.applocal.log"
       FinalizeBuildStatus:
         正在删除文件“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.tlog\unsuccessfulbuild”。
         正在对“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\gendef\gendef.tlog\gendef.lastbuildstate”执行 Touch 任务。
     3>已完成生成项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\gendef.vcxproj”(默认目标)的操作。
     2>PrepareForBuild:
         正在创建目录“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\”。
         正在创建目录“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\atkmm.tlog\”。
       InitializeBuildStatus:
         正在创建“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\atkmm.tlog\unsuccessfulbuild”,因为已指定“AlwaysCreate”。
       VcpkgTripletSelection:
         Using triplet "x64-windows" from "D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\"
       ClCompile:
         D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\CL.exe /c /I.\atkmm /I..\atk /I. /I"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\include" /Zi /nologo /W3 /WX- /diagnostics:classic /MP /O2 /D ATKMM_BUILD /D _WINDLL /D _UNICODE /D UNICODE /Gm- /EHsc /MD /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\\" /Fd"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\vc141.pdb" /Gd /TP /FImsvc_recommended_pragmas.h /FC /errorReport:queue /d2Zi+ ..\atk\atkmm\action.cc ..\atk\atkmm\component.cc ..\atk\atkmm\document.cc ..\atk\atkmm\editabletext.cc ..\atk\atkmm\hyperlink.cc ..\atk\atkmm\hypertext.cc ..\atk\atkmm\image.cc ..\atk\atkmm\implementor.cc ..\atk\atkmm\init.cc ..\atk\atkmm\noopobject.cc ..\atk\atkmm\object.cc ..\atk\atkmm\objectaccessible.cc ..\atk\atkmm\range.cc ..\atk\atkmm\relation.cc ..\atk\atkmm\relationset.cc ..\atk\atkmm\selection.cc ..\atk\atkmm\stateset.cc ..\atk\atkmm\streamablecontent.cc ..\atk\atkmm\table.cc ..\atk\atkmm\text.cc ..\atk\atkmm\value.cc ..\atk\atkmm\wrap_init.cc
         action.cc
         component.cc
         document.cc
         editabletext.cc
         hyperlink.cc
         hypertext.cc
         image.cc
         implementor.cc
         init.cc
         noopobject.cc
         object.cc
         objectaccessible.cc
         range.cc
         relation.cc
         relationset.cc
         selection.cc
         stateset.cc
     2>d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\relation.cc(44): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
     2>d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\stateset.cc(40): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
     2>d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\stateset.cc(46): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
         streamablecontent.cc
         table.cc
         text.cc
         value.cc
         wrap_init.cc
       ResourceCompile:
         D:\Windows Kits\10\bin\10.0.17763.0\x86\rc.exe /D _UNICODE /D UNICODE /l"0x0409" /I"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\installed\x64-windows\include" /nologo /fo"D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\atkmm.res" .\atkmm\atkmm.rc
       PreLinkEvent:
         Generate atkmm def file
         D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\\gendef.exe D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\\atkmm.def atkmm.dll D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\*.obj
         :VCEnd
         'D:\Program' 不是内部或外部命令,也不是可运行的程序
         或批处理文件。
     2>D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: 命令“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\\gendef.exe D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\\atkmm.def atkmm.dll D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\*.obj [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd”已退出,代码为 9009。 [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
     2>已完成生成项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj”(默认目标)的操作 - 失败。
     1>已完成生成项目“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.sln”(atkmm 个目标)的操作 - 失败。

生成失败。

       “D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.sln”(atkmm 目标) (1) ->
       “D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj”(默认目标) (2) ->
       (ClCompile 目标) ->
         d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\relation.cc(44): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
         d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\stateset.cc(40): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
         d:\program files (x86)\microsoft visual studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\atk\atkmm\stateset.cc(46): warning C4267: 'argument': conversion from 'size_t' to 'gint', possible loss of data [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]


       “D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.sln”(atkmm 目标) (1) ->
       “D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj”(默认目标) (2) ->
       (PreLinkEvent 目标) ->
         D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: 命令“D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\bin\\gendef.exe D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\\atkmm.def atkmm.dll D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\Release\x64\obj\atkmm\*.obj [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]
       D:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): error MSB3073: :VCEnd”已退出,代码为 9009。 [D:\Program Files (x86)\Microsoft Visual Studio\vcpkg\buildtrees\atkmm\src\atkmm-2.24.2\MSVC_Net2013\atkmm.vcxproj]

    3 个警告
    1 个错误

已用时间 00:01:29.79
2019-01-18 19:00







关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.079840 second(s), 8 queries.
Copyright©2004-2019, BCCN.NET, All Rights Reserved