Visual studio 在构建项目过程中遇到错误?
我在VS2012中构建该项目,出现以下错误,我在Google上搜索过,没有找到太多类似的解决方案,请提供相同的解决方案,以下是错误代码片段-Visual studio 在构建项目过程中遇到错误?,visual-studio,visual-c++,visual-studio-2012,msbuild,Visual Studio,Visual C++,Visual Studio 2012,Msbuild,我在VS2012中构建该项目,出现以下错误,我在Google上搜索过,没有找到太多类似的解决方案,请提供相同的解决方案,以下是错误代码片段- MOCing D:\giit\release_17\RTTBorrow\rttBorrowWindow.h 'moc.exe' is not recognized as an internal or external command, operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttBorrowWindow.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttListView.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialog.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttpassworddialogimpl.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
MOCing D:\giit\release_17\RTTBorrow\rttTextEdit.h
'moc.exe' is not recognized as an internal or external command,
operable program or batch file.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172,5): error MSB6006: "cmd.exe" exited with code 9009.
Thanks !!!
因为你没有告诉我你要建立什么样的项目,而且谷歌搜索“giit”也没有给出有意义的结果,所以我给出了一个一般性的建议
moc.exe
是Qt构建系统的一部分,因此您可以尝试安装它。它的网站是你建立的项目是什么?提供重现该问题的详细步骤。@通过提供用于构建的moc.exe路径,问题已得到解决。您可以将其标记为答案。感谢您提供解决方案