LoadedModule [1] = C:\ WINDOWS \ SYSTEM32 \ antdll.dll LoadedModule [2] = C:\ WINDOWS \ System32 \ KERNEL32.DLL LoadedModule [3] = C:\ WINDOWS \ System32 \ KERNELBASE.dll LoadedModule [4] = c:\windows \ system32 \ dgapi。 dll LoadedModule [5] = C:\ WINDOWS \ System32 \ PSAPI.DLL LoadedModule [6] = C:\ WINDOWS \ SYSTEM32 \ VERSION.dll LoadedModule [7] = C:\ WINDOWS \ System32 \ USER32.dll LoadedModule [8] = C:\ WINDOWS \\ SYSTEM32 \USERENV.dll $ LoadedModule [9] = C:\ WINDOWS \ System32 \ win32u.dll LoadedModule [10] = C:\ WINDOWS \ System32 \msvcrt.dll LoadedModule [11] = C:\ WINDOWS \ System32 \ GDI32.dll LoadedModule [12] = C: \ WINDOWS \ System32 \ucrtbase.dll LoadedModule [13] = C:\ WINDOWS \ System32 \ gdi32full.dll LoadedModule [14] = C:\ WINDOWS \ System32 \RPCRT4.dll LoadedModule [15] = C:\ WINDOWS \ System32 \ ADVAPI32.dll LoadedModule [16 ] = C:\ WINDOWS \ System32 \SspiCli.dll LoadedModule [17] = C:\ WINDOWS \ System32 \sechost.dll LoadedModule [18] = C:\ WINDOWS \ System32 \ CRYPTBASE.dll LoadedModule [19] = C:\ WINDOWS \ System32 \ole32.dll LoadedModule [20] = C:\ WINDOWS \ System32 \bcryptPrimitives.dll LoadedModule [21] = C:\ WINDOWS \ System32 \ combase.dll LoadedModule [22] = C:\ WINDOWS \ System32 \profapi.dll LoadedModule [23] = C:\ WINDOWS \ System32 \ SHELL32。 dll LoadedModule [24] = C:\ WINDOWS \ System32 \ cfgmgr32.dll LoadedModule [25] = C:\ WINDOWS \ System32 \ windows.storage.dll LoadedModule [26] = C:\ WINDOWS \ System32 \powrprof.dll LoadedModule [27] = C:\ WINDOWS \\ \\ System32 \shlwapi.dll LoadedModule [28] = C:\ WINDOWS \ System32 \ kernel.appcore.dll LoadedModule [29] = C: \ WINDOWS \ System32 \ shcore.dll LoadedModule [30] = C:\ WINDOWS \ System32 \OLEAUT32.dll LoadedModule [31] = C:\ WINDOWS \ System32 \msvcp_win.dll LoadedModule [32] = C:\ WINDOWS \ SYSTEM32 \ MPR.dll LoadedModule [33 ] = C:\Program Files(x86)\ MSBuild\12.0\bin\FileTracker.dll LoadedModule [34] = C:\ WINDOWS \ System32 \ im agehlp.dll LoadedModule [35] = C:\ WINDOWS \ System32 \IMM32.DLL LoadedModule [36] = C:\Program Files \ DGAgent \plugins \09D849B6-32D3-4A40-85EE-6B84BA29E35B\AE_MailSensor_Plugin.dll LoadedModule [37] = C:\Program Files\DGAgent\plugins\09D849B6-32D3 -4A40-85EE-6B84BA29E35B\ame_outlooksensor.dll LoadedModule [38] = C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\ame_smtpsensor .dll LoadedModule [39] = C:\Program Files\DGAgent\plugins\E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB \OS_Plugin.dll LoadedModule [40] = C:\Program Files\DGAgent\plugins\E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\COM_Sensor.dll State [0] .Key = Transport .DoneStage1 状态[0] .Value = 1 FriendlyEventName = Nichtmehrfunkktionsfähig ConsentKey = APPCRASH AppName = mt2.exe AppPath = C:\Prog ram文件(x86)\ Windows Kits \8.1\bin\x86\mt.exe NsPartner = windows NsGroup = windows8 ApplicationIdentity = 9D6AD8D0A341E42B76C8B15E1EEB93E8 MetadataHash = -30701919 解决方案 嗨meinolf freiburg, 欢迎来到MSDN论坛。 参考你的描述,我创建了新的MFC应用程序和ATL项目来测试并成功构建它们。 请转到控制面板 - 程序和功能,右键单击VS 2015并更改 - 修改,确认组件'Visual C ++ 2015常用工具','Microsoft C ++基础类' ,'Visual C ++'下的'Windows XP支持C ++'已经检查过如下,如果没有,请检查它是否更新。 >>构建项目 - >错误:"LINK:致命错误LNK1327:运行mt.exe期间失败" 请右键单击MFC应用程序并选择"属性"并检查目标平台版本,默认值为"8.1"。 我试图更改目标平台版本,如'10 .0.15063.0'并构建它,结果失败,类似的错误就像无法运行'rc.exe',然后我复制了来自 C的'rc.exe'和'rcdll.dll':\Program Files(x86)\ Windows Kits \10\bin\10.0.15063.0\x64 并将它们粘贴到 C:\Program Files(x86)\ Microsoft Visual Studio 14.0\VC\bin 中,然后再次构建它,现在遇到另一个新错误无法运行'mt.exe ',然后我像以前一样复制'mt.exe',最后构建成功。 请看一下这个类似的问题: Visual Studio无法根据rc.exe构建 并试一试,将目标SDK版本安装位置所需的文件复制到VS 2015 VC安装文件夹。 同时,还有另一个类似的问题: 编译VS 2012 C ++项目时,致命错误无法运行'mt.exe' 将"生成清单"设置为否在链接器中。 最好的问候, 萨拉 Issue Details:Hardware: DELL Latitude E6540OS: Windows 10 (german)VS-Version: Visual Studio 2015 with Update 3 (english)prepare to reproduce:1. Fresh installation of Windows 10 image2. install Vs 2015 without any reported problems.3. Start Vs 2015 no reported problemsSteps to reproduce:1. Start VS 20152. New project --> C++,MFC, MFC-Application (all default values)3. Build project --> Error: "LINK : fatal error LNK1327: failure during running mt.exe"or1. Start VS 20152. New project --> C++,ATL, ATL-Dll (all default values)3. Build project --> Error: C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(1318,5): error MSB6006: "midl.exe" exited with code -1073741819Report.wer contains the following:Version=1EventType=APPCRASHEventTime=131399317076639364ReportType=2Consent=1UploadTime=131405132861834713ReportIdentifier=cfb59ea9-3eee-11e7-9d82-80000b638615IntegratorReportIdentifier=a536cf99-804f-4766-a65c-a184b4f27f1dWOW64=1NsAppName=mt.exeAppSessionGuid=00003b08-0001-000e-cbd0-dc91fbd2d201TargetAppId=W:0006d6338daa86cba503d16c85b9a654261500000904!00004de350e27fbe41f2f45decf70ac30b76046d8641!mt.exeTargetAppVer=2015//02//27:01:24:18!f2193!mt.exeBootId=4294967295Response.type=4Sig[0].Name=AnwendungsnameSig[0].Value=mt.exeSig[1].Name=AnwendungsversionSig[1].Value=6.3.9600.17336Sig[2].Name=AnwendungszeitstempelSig[2].Value=54efc742Sig[3].Name=FehlermodulnameSig[3].Value=dgapi.dllSig[4].Name=FehlermodulversionSig[4].Value=7.3.0.1021Sig[5].Name=FehlermodulzeitstempelSig[5].Value=58937906Sig[6].Name=AusnahmecodeSig[6].Value=c0000005Sig[7].Name=AusnahmeoffsetSig[7].Value=00043833DynamicSig[1].Name=BetriebsystemversionDynamicSig[1].Value=10.0.14393.2.0.0.256.48DynamicSig[2].Name=Gebietsschema-IDDynamicSig[2].Value=1031DynamicSig[22].Name=Zusatzinformation 1DynamicSig[22].Value=2bebDynamicSig[23].Name=Zusatzinformation 2DynamicSig[23].Value=2beba6fb4680d73a8c78ca7c24ccdb46DynamicSig[24].Name=Zusatzinformation 3DynamicSig[24].Value=658cDynamicSig[25].Name=Zusatzinformation 4DynamicSig[25].Value=658c5b10bf6dac71bf33c5470aab5cbaUI[2]=C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exeUI[3]=mt2.exe funktioniert nicht mehrUI[4]=Windows kann online nach einer Lösung für das Problem suchen.UI[5]=Online nach einer Lösung suchen und das Programm schließenUI[6]=Später online nach einer Lösung suchen und das Programm schließenUI[7]=Programm schließenLoadedModule[0]=C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exeLoadedModule[1]=C:\WINDOWS\SYSTEM32\ntdll.dllLoadedModule[2]=C:\WINDOWS\System32\KERNEL32.DLLLoadedModule[3]=C:\WINDOWS\System32\KERNELBASE.dllLoadedModule[4]=c:\windows\system32\dgapi.dllLoadedModule[5]=C:\WINDOWS\System32\PSAPI.DLLLoadedModule[6]=C:\WINDOWS\SYSTEM32\VERSION.dllLoadedModule[7]=C:\WINDOWS\System32\USER32.dllLoadedModule[8]=C:\WINDOWS\SYSTEM32\USERENV.dllLoadedModule[9]=C:\WINDOWS\System32\win32u.dllLoadedModule[10]=C:\WINDOWS\System32\msvcrt.dllLoadedModule[11]=C:\WINDOWS\System32\GDI32.dllLoadedModule[12]=C:\WINDOWS\System32\ucrtbase.dllLoadedModule[13]=C:\WINDOWS\System32\gdi32full.dllLoadedModule[14]=C:\WINDOWS\System32\RPCRT4.dllLoadedModule[15]=C:\WINDOWS\System32\ADVAPI32.dllLoadedModule[16]=C:\WINDOWS\System32\SspiCli.dllLoadedModule[17]=C:\WINDOWS\System32\sechost.dllLoadedModule[18]=C:\WINDOWS\System32\CRYPTBASE.dllLoadedModule[19]=C:\WINDOWS\System32\ole32.dllLoadedModule[20]=C:\WINDOWS\System32\bcryptPrimitives.dllLoadedModule[21]=C:\WINDOWS\System32\combase.dllLoadedModule[22]=C:\WINDOWS\System32\profapi.dllLoadedModule[23]=C:\WINDOWS\System32\SHELL32.dllLoadedModule[24]=C:\WINDOWS\System32\cfgmgr32.dllLoadedModule[25]=C:\WINDOWS\System32\windows.storage.dllLoadedModule[26]=C:\WINDOWS\System32\powrprof.dllLoadedModule[27]=C:\WINDOWS\System32\shlwapi.dllLoadedModule[28]=C:\WINDOWS\System32\kernel.appcore.dllLoadedModule[29]=C:\WINDOWS\System32\shcore.dllLoadedModule[30]=C:\WINDOWS\System32\OLEAUT32.dllLoadedModule[31]=C:\WINDOWS\System32\msvcp_win.dllLoadedModule[32]=C:\WINDOWS\SYSTEM32\MPR.dllLoadedModule[33]=C:\Program Files (x86)\MSBuild\12.0\bin\FileTracker.dllLoadedModule[34]=C:\WINDOWS\System32\imagehlp.dllLoadedModule[35]=C:\WINDOWS\System32\IMM32.DLLLoadedModule[36]=C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\AE_MailSensor_Plugin.dllLoadedModule[37]=C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\ame_outlooksensor.dllLoadedModule[38]=C:\Program Files\DGAgent\plugins\09D849B6-32D3-4A40-85EE-6B84BA29E35B\ame_smtpsensor.dllLoadedModule[39]=C:\Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\OS_Plugin.dllLoadedModule[40]=C:\Program Files\DGAgent\plugins\8E4EA70A-6128-4B57-BD3F-8E9E0F0DA6BB\COM_Sensor.dllState[0].Key=Transport.DoneStage1State[0].Value=1FriendlyEventName=Nicht mehr funktionsfähigConsentKey=APPCRASHAppName=mt2.exeAppPath=C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exeNsPartner=windowsNsGroup=windows8ApplicationIdentity=9D6AD8D0A341E42B76C8B15E1EEB93E8MetadataHash=-30701919 解决方案 Hi meinolf freiburg,Welcome to the MSDN forum.Refer to your description, I created the new MFC application and ATL project to test and successfully build them.Please go to Control Panel-Programs and Features, right click the VS 2015 and Change-Modify, confirm the components ‘Common Tools for Visual C++ 2015’, ‘Microsoft Foundation Classes for C++’, ‘Windows XP Support for C++’ that under ‘Visual C++’ already checked like the following, if not, please check it to update.>>Build project --> Error: "LINK : fatal error LNK1327: failure during running mt.exe"Please right click the MFC application and choose ‘Properties’ and check the target platform version, the default value is ‘8.1’ on my side.I tried to change the target platform version like ’10.0.15063.0’ and build it, the result is failed with the similar error like cannot run ‘rc.exe’, then I copied the ‘rc.exe’ and ‘rcdll.dll’ from C:\Program Files (x86)\Windows Kits\10\bin\10.0.15063.0\x64and paste them into C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin, then build it again, now meet another new error cannot run the ‘mt.exe’, then I copied the ‘mt.exe’ like before, finally the build is successful.Please have a look at this similar issue:Visual Studio can't build due to rc.exeand have a try on your side, copy those required files from the target SDK version installation location to VS 2015 VC installation folder.Meanwhile, there have another similar issue:Fatal error cannot run 'mt.exe' at compiling VS 2012 C++ projectto Set "Generate manifest" as No in Linker.Best regards,Sara 这篇关于发出运行mt.exe和midl.exe的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-23 22:45