error MSB6006: “cmd.exe” exited with code 1

前端 未结 10 1398
生来不讨喜
生来不讨喜 2020-12-30 21:09

When I\'m trying to build my VC++ code using 2010 I\'m getting the error message

> C:\\Program Files\\MSBuild\\Microsoft.Cpp\\v4.0\\Microsoft.CppCommon.targ

10条回答
  •  误落风尘
    2020-12-30 21:47

    For the sake of future readers. My problem was that I was specifying an incompatible openssl library to build my program through CMAKE. Projects were generated but build started failing with this error without any other useful information or error. Verbose cmake/compilation logs didn't help either.

    My take away lesson is that cross check the incompatibilities in case your program has dependencies on the any other third party library.

提交回复
热议问题