[英]How build and run aws-iot-device-sdk-embedded-C sample?
这是aws-iot-device-sdk-embedded-C
示例。 但是当我调用make
命令时,出现如下错误:
~/environment/aws-iot-device-sdk-embedded-C/samples/linux/subscribe_publish_sample ((6c99912...)) $ make
make -C ../../../external_libs/mbedTLS
make[1]: Entering directory `/home/ec2-user/environment/aws-iot-device-sdk-embedded-C/external_libs/mbedTLS'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory `/home/ec2-user/environment/aws-iot-device-sdk-embedded-C/external_libs/mbedTLS'
make: *** [all] Error 2
如何构建和运行这个示例? (我不是 C 开发者,所以请尽可能提供详细的答案)
原因是缺少mbedTLS
库。
请拨打 go 至:
/home/ec2-user/environment/aws-iot-device-sdk-embedded-C/external_libs/mbedTLS
看看它的自述文件:
# Copy source code for mbedTLS into this directory
#
# You'll need to download mbedTLS from the official ARMmbed repository and
# place the files here. We recommend that you pick the latest version of 2.16
# LTS release in order to have up-to-date security fixes.
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.