我在尝试构建使用 QT 的 C++ 项目时出现此错误。
我已经检查了下面的链接,但用户没有说出解决方案。
http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/5b0be7be-1b6e-44c2-91ca-b5a9a55a2c41/ http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/5b0be7be-1b6e-44c2-91ca-b5a9a55a2c41/
出现的警告是:
警告1
元素“PropertyGroup”在
命名空间'http://schemas.microsoft.com/developer/msbuild/2003 http://schemas.microsoft.com/developer/msbuild/2003' 有
命名空间中的子元素“IntDirTrailingSlashWarning”无效
'http://schemas.microsoft.com/developer/msbuild/2003 http://schemas.microsoft.com/developer/msbuild/2003'。列表
预期可能的元素:'Property、AllowUnsafeBlocks、
AppConfigForCompiler、应用程序图标、应用程序修订版、
应用程序版本、AppDesignerFolder、AspNetConfiguration、
AssemblyKeyContainerName、AssemblyKeyProviderName、AssemblyName、
AssemblyOriginatorKeyFile、AssemblyOriginatorKeyFileType、
AssemblyOriginatorKeyMode、AssemblyType、AutorunEnabled、BaseAddress、
BootstrapperComponentsLocation、BootstrapperComponentsUrl、
BootstrapperEnabled、字符集、CheckForOverflowUnderflow、
CLRSupport、代码页、配置、配置名称、
配置覆盖文件、创建桌面快捷方式、
CreateWebPageOnPublish、当前解决方案配置内容、
DebugSecurityZoneURL、DebugSymbols、DebugType、DefaultClientScript、
DefaultHTMLPageLayout、DefaultTargetSchema、定义常量、
DefineDebug、DefineTrace、DelaySign、DisableLangXtns、
DisallowUrlActivation、代码分析附加选项、
代码分析ApplyLogFileXsl、代码分析控制台Xsl、
代码分析文化、代码分析失败缺少规则、
CodeAnalysisForceOutput、CodeAnalysisGenerateS... C:\Program
文件\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 21
and
警告 59
“ToolArchitecture”属性不是
宣布。 C:\程序
文件\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 713
这是有错误的文件:错误文件 https://www.dropbox.com/s/d5gc9399p3m279o/Microsoft.CppCommon.targets
这是日志文件:log file https://www.dropbox.com/s/gp4vrmd2aiet9d7/QtDataAcquisition.log
在您的构建日志中,某些文件丢失,因此构建操作失败。检查这些错误:
"\bin\rcc.exe" -name "qtdataacquisition" -no-compress "D:\hussein\KinectQtDataAcquisition\KinectQtDataAcquisition\qtdataacquisition.qrc" -o .\GeneratedFiles\qrc_qtdataacquisition.cpp
The system cannot find the path specified.
Moc'ing qtdataacquisition.h...
Uic'ing qtdataacquisition.ui...
The system cannot find the path specified.
Moc'ing DataCollector.h...
The system cannot find the path specified.
The system cannot find the path specified.
Rcc'ing qtdataacquisition.qrc...
1>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error MSB6006: "cmd.exe" exited with code 3.
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)