标签: azure-sphere

如何在macOS上为Azure Sphere开发?

文档指出,对于发展Azure的球设备要求

运行Windows 10周年更新或更高版本的PC

Visual Studio 2017 Enterprise,Professional或Community版本15.7或更高版本

有没有办法在macOS上针对该设备进行开发?

azure-sphere

7
推荐指数
1
解决办法
740
查看次数

如何在 Azure Sphere Visual Studio 项目中添加库依赖项?

我正在构建一个 Azure Sphere C 应用程序,从 HTTPS_Curl_Easy 示例项目开始。我需要json解析,所以下载了Jansson库代码。Jansson 在使用 Cmake 时生成的项目不会添加作为对我的 Sphere 项目的引用,因为它针对的是 Win32,所以我创建了一个空的 Azure 球体库项目,将所有 jansson 代码复制到其中并弄乱了定义的变量,直到项目编译。

现在我正在尝试将该 Jansson 库添加到我的 HTTPS_Curl_Easy 示例中,但是我无法让它在项目中可用(它说 jansson.h 不可用): 在此处输入图片说明

两个具体问题:

  1. 在 azure Sphere 库项目中,我如何告诉它要导出什么?项目模板有一个 Inc\Public 文件夹 - 头文件必须在那里吗?(我的不是因为源不会在那里构建)

  2. 我应该如何在 Azure Sphere 项目中添加对库项目的引用?我右键单击该项目并单击 add->reference 以添加我的 jansson_sphere 库项目,但尽管它在项目文件中,但它并未显示在我能找到的任何依赖项列表中。

我的项目和我尝试构建 Jansson 的源代码在 github 中:https : //github.com/Joon/HTTPS_Curl_Easy

c azure iot jansson azure-sphere

5
推荐指数
1
解决办法
132
查看次数

标签 统计

azure-sphere ×2

azure ×1

c ×1

iot ×1

jansson ×1