7971浏览
查看: 7971|回复: 1

[讨论] 给Arduino IDE添加openssl的库函数

[复制链接]
比如我的程序中有:
#include <LiquidCrystal.h>
#include<stdio.h>
#include<stdlib.h>
#include<string.h>
#include<openssl/rsa.h>
#include<openssl/pem.h>
#include<openssl/err.h>
...
但是,我编译的时候,出错
Arduino: 1.6.0 (Windows 7), Board: "Arduino Yún"

Build options changed, rebuilding all

Using library LiquidCrystal in folder: C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\LiquidCrystal



C:\Users\xiaoy\Desktop\arduino-1.6.0+Intel/hardware/tools/avr/bin/avr-g++ -c -g -Os -w -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -MMD -mmcu=atmega32u4 -DF_CPU=16000000L -DARDUINO=10600 -DARDUINO_AVR_YUN -DARDUINO_ARCH_AVR -DUSB_VID=0x2341 -DUSB_PID=0x8041 -DUSB_MANUFACTURER= -DUSB_PRODUCT="Arduino Yun" -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\arduino\avr\cores\arduino -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\hardware\arduino\avr\variants\yun -IC:\Users\xiaoy\Desktop\arduino-1.6.0+Intel\libraries\LiquidCrystal\src C:\Users\xiaoy\AppData\Local\Temp\build5537641391518044488.tmp\safereadprint.cpp -o C:\Users\xiaoy\AppData\Local\Temp\build5537641391518044488.tmp\safereadprint.cpp.o

safereadprint.ino:6:24: fatal error: openssl/rsa.h: No such file or directory
compilation terminated.
Error compiling.

我该怎么做啊?


Cain  初级技匠

发表于 2015-4-20 17:45:49

直接把openssl/rsa.h打开到主程序同一个编程页面试试可不可以?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

为本项目制作心愿单
购买心愿单
心愿单 编辑
[[wsData.name]]

硬件清单

  • [[d.name]]
btnicon
我也要做!
点击进入购买页面
上海智位机器人股份有限公司 沪ICP备09038501号-4

© 2013-2024 Comsenz Inc. Powered by Discuz! X3.4 Licensed

mail