Compilation error: c-interface\build-VS2012\ZERO_CHECK.vcxproj - error MSB6006: "cmd.exe" exited with code 3
Hi everybody,I installed the teamcity build agent in a remote machine and Visual Studio 2012 (c++).I am trying to create a build from Teamcity and I did RunI get theses error messages : Compilation error: c-interface\build-VS2012\ZERO_CHECK.vcxproj - [12:51:30][CustomBuild] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172, 5): error MSB6006: "cmd.exe" exited with code 3.I don't find a solution to solve it, any suggestion please?here a piece of the log message:[12:51:29][c-interface\build-VS2012\ZERO_CHECK.vcxproj] _PrepareForClean[12:51:29][_PrepareForClean] Delete[12:51:29][Delete] Deleting file "Win32\Release\ZERO_CHECK\ZERO_CHECK.lastbuildstate".[12:51:29][c-interface\build-VS2012\ZERO_CHECK.vcxproj] InitializeBuildStatus[12:51:29][InitializeBuildStatus] Touch[12:51:29][Touch] Touching "Win32\Release\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".[12:51:29][c-interface\build-VS2012\ZERO_CHECK.vcxproj] CustomBuild[12:51:29][CustomBuild] CustomBuild[12:51:29][CustomBuild] Checking Build System[12:51:29][CustomBuild] The system cannot find the path specified.[12:51:30][CustomBuild] C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(172, 5): error MSB6006: "cmd.exe" exited with code 3.[12:51:30][MSBuild] c-interface\build-VS2012\libs\rest\REST.vcxproj.metaproj: Build target: Rebuild PD: the path C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets iexists and is correct in the remote machine.
Please sign in to leave a comment.
Hi,
Can you please try to run this build on the same machine as the TeamCity agent and under the same user that the agent is running? For more details please see - http://confluence.jetbrains.com/display/TCD8/Common+Problems#CommonProblems-BuildfailsorbehavesdifferentlyinTeamCitybutnotlocally.
Hi Jose,
No, these warnings are not related to the first ones. When you start build agent it checks whether different programs (for example VCSs) are installed on this machine. And if not it prints such messages.
In the original message the problem is with starting build from TeamCity, so please try to start the same build from command line. The steps how to do it are described here.