CMake Error at CMakeLists.txt:19 (project): Failed to run MSBuild command: to get the value of VCTargetsPath:

Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19044.
CMake Error at CMakeLists.txt:19 (project):
Failed to run MSBuild command:

D:/Coding/Microsoft Visual Studio/2017/Professional/MSBuild/15.0/Bin/MSBuild.exe

to get the value of VCTargetsPath:


this error appear when I use CMake to build Openpose project.
I have try add path of MSBbuild ,install windows SDK 8.1 in Visual Studio 2017,all of that didn’t work.

Did anyone happen with this erro? please do me a favor :persevere: