1

これを追加しようとしていた

  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 Web サイトのガイドには、Visual Studio 2012 用のプロジェクトをセットアップするためにこれを行うように記載されています。

4

0 に答える 0