none
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1. RRS feed

  • Question

  •     <CustomBuild
          Sources                     ="@(CustomBuild)"
          BuildSuffix                 ="$(_BuildSuffix)"

          TrackerLogDirectory         ="%(CustomBuild.TrackerLogDirectory)"
          MinimalRebuildFromTracking  ="%(CustomBuild.MinimalRebuildFromTracking)"

          TLogReadFiles               ="@(CustomBuildTLogReadFiles)"
          TLogWriteFiles              ="@(CustomBuildTLogWriteFiles)"
          TrackFileAccess             ="$(TrackFileAccess)"
          ToolArchitecture            ="$(CustomBuildToolArchitecture)"
          TrackerFrameworkPath        ="$(CustomBuildTrackerFrameworkPath)"
          TrackerSdkPath              ="$(CustomBuildTrackerSdkPath)"

          AcceptableNonZeroExitCodes  ="%(CustomBuild.AcceptableNonZeroExitCodes)"
          >
        </CustomBuild>

    //======================

    3>  -- Configuring incomplete, errors occurred!
    3>  See also "D:/VTK/vtk-master/Build/CMakeExternals/Build/vtk-android-21-armeabi/CMakeFiles/CMakeOutput.log".
    3>  C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
    3>Done building target "CustomBuild" in project "vtk-android.vcxproj" -- FAILED.
    3>
    3>Done building project "vtk-android.vcxproj" -- FAILED.
    3>
    3>Build FAILED.
    3>
    3>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5): error MSB6006: "cmd.exe" exited with code 1.
    3>    0 Warning(s)
    3>    1 Error(s)
    3>
    3>Time Elapsed 00:00:00.41
    4>------ Skipped Build: Project: ALL_BUILD, Configuration: RelWithDebInfo x64 ------
    4>Project not selected to build for this solution configuration 
    ========== Build: 2 succeeded, 1 failed, 0 up-to-date, 1 skipped ==========

    Wednesday, September 11, 2019 1:20 AM

All replies

  • Hi will,

    Welcome to the MSDN forum.

    It seems that you have some error in your custom build event such as task, target or the msbuild  command line.

    >>The error cmd.exe exited with code 1 you can refer to this:

    https://stackoverflow.com/questions/13118947/error-msb6006-cmd-exe-exited-with-code-1

    So please check the project property-->Build Events to see if there are some costom build events and targets that failed and open your project file .vcxproj. Or you can use the substitute target to check whether there is an error in Target.

    <Target>
    <Message Text="......"></Message>
    </Target>

    ##If this does not help you, please share your custom targets, custom msbuild command line or any other custom events, properties, useful detailed information so that we can troubleshoot your issue quickly.

    Hope it could help you.

    Best Regards,

    Perry



    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com



    Wednesday, September 11, 2019 8:35 AM
  • Hi will,

    Did your issue solve? If your issue till persists, please feel free to let us know.

    We will give you further support.

    Thanks for your understanding.

    Best Regards,

    Perry


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Monday, September 16, 2019 10:08 AM