0

我想建立一個Windows IOT應用程序爲我的樹莓派使用Visual Studio社區2015年。這裏是項目模板代碼。StartupTask.cpp構建失敗,由於外部依賴

#include "pch.h" 
#include "StartupTask.h" 

using namespace BackgroundApplication1; 
using namespace Platform; 
using namespace Windows::ApplicationModel::Background; 

// The Background Application template is documented at  http://go.microsoft.com/fwlink/?LinkID=533884&clcid=0x409 

void StartupTask::Run(IBackgroundTaskInstance^ taskInstance) 
{ 

// TODO: Insert code to perform background work 
// 
// If you start any asynchronous methods here, prevent the task 
// from closing prematurely by using BackgroundTaskDeferral as 
// described in http://aka.ms/backgroundtaskdeferral 
// 
} 

雖然,每次我嘗試建立這個項目中我得到的錯誤的列表頭,其來自外部依賴文件arm_neon.h,atomic.h中,chrono.h,cstdint.h,和比.H 。 List of errors

我知道我不應該觸摸這些文件,因爲它們已經包含在模板中,但我不知道如何擺脫這些錯誤。任何幫助將不勝感激。

回答

1

您需要確保安裝了下列包, enter image description here

和Windows SDK也應包括在上述包。