Blinky示例应用程序编译问题 [英] Blinky sample app compilation problem

查看:131
本文介绍了Blinky示例应用程序编译问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我试图编译,并从下载的样本中加入Raspberry Pi应用程序Blinky,但我在开头堆叠。

I trying to compile, and put on Raspberry Pi app Blinky from downloaded samples, but I stacked at the beginning.

我无法打开C#版本,因为我收到错误:

I cannot open C# version because I get error:

D:\Mikroprocessors \Projects \RaspBerryPI Projects\Blinky\CS\Blinky.csproj:错误:导入的项目"C:\Program Files(x86)\ MSBuild \ Microoft \ WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.CSharp.targets"没找到。确认< Import>中的路径
声明是正确的,并且该文件存在于磁盘上。 C:\Program Files(x86)\ MSBuild\Microsoft \ WindowsXaml \v14.0 \ Microsoft.Windows.UI.Xaml.CSharp.targets

D:\Mikroprocessors\Projects\RaspBerryPI Projects\Blinky\CS\Blinky.csproj : error : The imported project "C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\8.2\Microsoft.Windows.UI.Xaml.CSharp.targets" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk. C:\Program Files (x86)\MSBuild\Microsoft\WindowsXaml\v14.0\Microsoft.Windows.UI.Xaml.CSharp.targets

我可以打开C ++版本,但是当我尝试在远程计算机上部署时,我得到:

C++ version I can open, but when I try to deploy on Remote Machine I get:

严重程度

代码

描述

项目

文件

错误

MSB3774

找不到SDK" Microsoft.VCLibs,Version = 14.0 " ;.

BlinkyCpp

C:\Program Files(x86)\ MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets

2048

错误(有效)

不能开源文件"App.g.h"

BlinkyCpp

d:\ Mikroprocessors \Projects \ RaspBerryPI Projects\Blinky\Cpp\App.xaml.h

32

错误(活动)

标识符"&的InitializeComponent QUOT;未定义

BlinkyCpp

< span style ="font-size:x-small"> d:\ Mikroprocessors \Projects\RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.cpp

30

错误(有效)

identifier" GpioStatus"未定义

BlinkyCpp

d:\ Mikroprocessors \Projects\RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.cpp

51

错误(有效)

标识符" GpioStatus"未定义

BlinkyCpp

< span style ="font-size:x-small"> d:\ Mikroprocessors \Projects\RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.cpp

59

错误(有效)

标识符"LED"未定义

BlinkyCpp

d:\ Mikroprocessors \Projects\RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.cpp

68

错误(有效)

标识符"LED"未定义

BlinkyCpp

d:\ Mikroprocessors \Projects\RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.cpp

74

错误(有效)

无法打开源文件"MainPage.g.h"

BlinkyCpp

d:\ Mikroprocessors \Projects \ RaspBerryPI Projects\Blinky\Cpp\MainPage.xaml.h

32

从模板编译空白背景应用程序(IoT)时得到的同样错误。

Same error I get when compiling blank Background Application (IoT) from templates.

可以为此提供一些建议解决方案吗?

Can some one advice solution for that ?

祝你好运

Piotr

Piotr

推荐答案

您是否正确安装了开发系统?
http://ms-iot.github.io/content/en- US / win10 / SetupPCRPI.htm

您是否安装了IoT模板?
https://visualstudiogallery.msdn.microsoft.com/06507e74-41cf-47b2- b7fe-8a2624202d36

Do you have the IoT Templates installed? https://visualstudiogallery.msdn.microsoft.com/06507e74-41cf-47b2-b7fe-8a2624202d36

您是否在项目中选择了"Windows IoT  UWP扩展" 参考?

Do you have the "Windows IoT Extensions for the UWP" reference selected in the project?


这篇关于Blinky示例应用程序编译问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆