适用于Raspberry pi 3(ARM)的Windows 10 IOT的Visual Studio 2015社区版中的编译错误 [英] Compilation Error in Visual Studio 2015-community edition for Windows 10 IOT for Raspberry pi 3 (ARM)

查看:130
本文介绍了适用于Raspberry pi 3(ARM)的Windows 10 IOT的Visual Studio 2015社区版中的编译错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello

我们可以构建一个使用WIN32平台,但是当我们使用ARM平台时它抛出编译错误。下面是错误

We are able to build an using WIN32 platform ,but when we use ARM platform its throwing compilation error.Below are the errors

1> ------构建开始:项目:amp_device_stub,配置:调试ARM ------
$
1> rng_get_bytes.obj:错误LNK2019:未解析的外部符号__imp_CryptAcquireContextA在函数rng_win32中引用

1> rng_get_bytes.obj:错误LNK2019:函数rng_win32中引用的未解析外部符号__imp_CryptReleaseContext

1> rng_get_bytes.obj:错误LNK2019:未解析的外部符号__imp_CryptGenRandom在函数rng_win32中引用

1> C:\ Users \ Panneer \Downloads\appmyproduct-device-stub \build \Debug \ amp_device_stub.exe:致命错误LNK1120:3未解决externals

==========构建:0成功,1个失败,2个最新,0个跳过==========

1>------ Build started: Project: amp_device_stub, Configuration: Debug ARM ------
1>rng_get_bytes.obj : error LNK2019: unresolved external symbol __imp_CryptAcquireContextA referenced in function rng_win32
1>rng_get_bytes.obj : error LNK2019: unresolved external symbol __imp_CryptReleaseContext referenced in function rng_win32
1>rng_get_bytes.obj : error LNK2019: unresolved external symbol __imp_CryptGenRandom referenced in function rng_win32
1>C:\Users\Panneer\Downloads\appmyproduct-device-stub\build\Debug\amp_device_stub.exe : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 1 failed, 2 up-to-date, 0 skipped ==========

请帮助我们解决此问题

推荐答案

我认为您需要的是带有所选C ++ arm组件和Visual Studio 2017的Windows 10 SDK

i think what you need is the Windows 10 SDK with the selected C++ arm components and Visual Studio 2017


Windows  10针对Windows的应用开发  10 Creators Update需要Visual Studio  2017。以前版本的Visual Studio不会发现此SDK。

Windows 10 app development targeting Windows 10 Creators Update requires Visual Studio 2017. This SDK will not be discovered by previous versions of Visual Studio.


这篇关于适用于Raspberry pi 3(ARM)的Windows 10 IOT的Visual Studio 2015社区版中的编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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