Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error MSB6006: "cmd.exe" exited with code 3

Tags:

c++

qt

I have this error appearing when trying to build a C++ project which uses QT.

My error

I've checked the below link but the user didn't say the solution.

http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/5b0be7be-1b6e-44c2-91ca-b5a9a55a2c41/

The warnings appearing are:

Warning 1

The element 'PropertyGroup' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003' has invalid child element 'IntDirTrailingSlashWarning' in namespace 'http://schemas.microsoft.com/developer/msbuild/2003'. List of possible elements expected: 'Property, AllowUnsafeBlocks, AppConfigForCompiler, ApplicationIcon, ApplicationRevision, ApplicationVersion, AppDesignerFolder, AspNetConfiguration, AssemblyKeyContainerName, AssemblyKeyProviderName, AssemblyName, AssemblyOriginatorKeyFile, AssemblyOriginatorKeyFileType, AssemblyOriginatorKeyMode, AssemblyType, AutorunEnabled, BaseAddress, BootstrapperComponentsLocation, BootstrapperComponentsUrl, BootstrapperEnabled, CharacterSet, CheckForOverflowUnderflow, CLRSupport, CodePage, Configuration, ConfigurationName, ConfigurationOverrideFile, CreateDesktopShortcut, CreateWebPageOnPublish, CurrentSolutionConfigurationContents, DebugSecurityZoneURL, DebugSymbols, DebugType, DefaultClientScript, DefaultHTMLPageLayout, DefaultTargetSchema, DefineConstants, DefineDebug, DefineTrace, DelaySign, DisableLangXtns, DisallowUrlActivation, CodeAnalysisAdditionalOptions, CodeAnalysisApplyLogFileXsl, CodeAnalysisConsoleXsl, CodeAnalysisCulture, CodeAnalysisFailOnMissingRules, CodeAnalysisForceOutput, CodeAnalysisGenerateS.... C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 21

and

Warning 59

The 'ToolArchitecture' attribute is not declared. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 713

This is the file having the error: error file
This is the log file: log file

like image 922
Tak Avatar asked Mar 13 '13 06:03

Tak


1 Answers

In your build log, some files are missing, hence the build action is failed. Review these errors:

"\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.
like image 189
Raptor Avatar answered Nov 15 '22 14:11

Raptor