Сборка cpprest (Касабланка) на Windows 8.1 с использованием VS2013 express

Я пытаюсь собрать SDK, но безрезультатно.
Моя цель — создать статическую версию библиотеки, следуя инструкциям здесь:
Как статически связать CPP REST SDK, но я даже не дошел до статической части, сборка проекта не удалась как есть.

Вот что я сделал:

  1. клонированный репо
  2. запустил setup_ps_env_VS2013.ps1 (не уверен, что это необходимо)
  3. открыл casablanca120.desktop.sln с использованием VS2013 express
  4. побежал Build Solution
    Компиляция, кажется, работает, но связывание не удается с:

    ошибка LNK1104: не удается открыть файл
    ‘MY_WORSPACE \ cpprest \ Binaries \ Win32 \ Debug \ cpprest120d_xp_2_2.lib’
    MY_WORSPACE \ cpprest \ Release \ образцы \ BingRequest \ BingRequest120.xp \ LINK
    BingRequest120.xp

Я не пытаюсь собрать его для XP вообще, поэтому я попробовал то же самое, но с решением casablanca120.WinRT.sln, когда я пытаюсь собрать это, я получаю:

MY_WORSPACE\cpprest2\Release\src\build\casablanca120.winrt.vcxproj : error  : Unable to read the project file "casablanca120.winrt.vcxproj".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

MY_WORSPACE\cpprest2\Release\src\build\casablanca120.wp81.vcxproj : error  : Unable to read the project file "casablanca120.wp81.vcxproj".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

MY_WORSPACE\cpprest2\Release\samples\BlackJack\BlackJack_UIClient\BlackJack_UIClient120.vcxproj : error  : Unable to read the project file "BlackJack_UIClient120.vcxproj".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

MY_WORSPACE\cpprest2\Release\samples\FacebookDemo\FacebookDemo120.vcxproj : error  : Unable to read the project file "FacebookDemo120.vcxproj".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

MY_WORSPACE\cpprest2\Release\samples\WindowsLiveAuth\WindowsLiveAuth120.vcxproj : error  : Unable to read the project file "WindowsLiveAuth120.vcxproj".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(1809,3): The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v12.0\Microsoft.Windows.UI.Xaml.Cpp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

Есть идеи, что я делаю не так?

0

Решение

Если вы столкнулись с той же проблемой или чем-то похожим, попробуйте ответ, который я получил на форумах CodePlex:

Сборка SDK на Windows 8.1 с использованием VS2013 Express (на CodePlex)

1

Другие решения