C++ Leap Motion Visual Studio安装程序错误,错误MSB3073。我该怎么办?

C++ Leap Motion Visual Studio安装程序错误,错误MSB3073。我该怎么办?,c++,compiler-construction,C++,Compiler Construction,我想补充一下 xcopy $(LEAP_SDK)\lib\x64\Leapd.dll "$(TargetDir)" xcopy $(LEAP_SDK)\lib\x64\msvcp100d.dll "$(TargetDir)" xcopy $(LEAP_SDK)\lib\x64\msvcr100d.dll "$(TargetDir)" 在后期生成事件中,但当我尝试时;它给了我一个错误: 1> InteractionContextSample.vcxproj -> C:\

我想补充一下

  xcopy $(LEAP_SDK)\lib\x64\Leapd.dll "$(TargetDir)"
  xcopy $(LEAP_SDK)\lib\x64\msvcp100d.dll "$(TargetDir)"
  xcopy $(LEAP_SDK)\lib\x64\msvcr100d.dll "$(TargetDir)"
在后期生成事件中,但当我尝试时;它给了我一个错误:

1>  InteractionContextSample.vcxproj -> C:\Users\ssg\Desktop\Working On\3 Leap Motion\InteractionContextSample_1_Unedited\Debug\InteractionContextSample.exe
1>  Invalid number of parameters
1>  Invalid number of parameters
1>  Invalid number of parameters
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: The command "xcopy C:\Users\ssg\Desktop\Working On\3 Leap Motion\LeapSDK+Examples_hotfix_public_win_x86_0.8.1+6221 (1)\LeapSDK\lib\x86\Leapd.dll "C:\Users\ssg\Desktop\Working On\3 Leap Motion\InteractionContextSample_1_Unedited\Debug\"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: xcopy C:\Users\ssg\Desktop\Working On\3 Leap Motion\LeapSDK+Examples_hotfix_public_win_x86_0.8.1+6221 (1)\LeapSDK\lib\x86\msvcp100d.dll "C:\Users\ssg\Desktop\Working On\3 Leap Motion\InteractionContextSample_1_Unedited\Debug\"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: xcopy C:\Users\ssg\Desktop\Working On\3 Leap Motion\LeapSDK+Examples_hotfix_public_win_x86_0.8.1+6221 (1)\LeapSDK\lib\x86\msvcr100d.dll "C:\Users\ssg\Desktop\Working On\3 Leap Motion\InteractionContextSample_1_Unedited\Debug\"
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: 
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(134,5): error MSB3073: :VCEnd" exited with code 4.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Leap Motion网站的向导说要这样做,为VisualStudio2012建立一个项目。
感谢您的帮助

看起来xcopy的两个参数都需要引号,因为路径中有空格。示例:xcopy$LEAP\u SDK\lib\x64\Leapd.dll$TargetDirIt工作正常,谢谢!