" OpenSSL的/ aes.h:没有这样的文件或目录" Android的下 [英] "openssl/aes.h: No such file or directory" under Android

查看:128
本文介绍了" OpenSSL的/ aes.h:没有这样的文件或目录" Android的下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图编译到Android环境。正因为如此,我得到了以下错误:

I'm trying to compile to android environment. And because of that I get the following error:

error: openssl/aes.h: No such file or directory

我发现栈的解决办法,但是,我不明白如何结束进程能够进行编译。

I find some solution in stack but, I don't get how to end the process to be able to compile.

我已经编译的一个版本 OpenSSL的是我要补充的库?或者我怎么能生成* .A?

I already compiled one version of openssl were should I add the libs? or how can I generate the *.a?

你知道我怎么可以这个库添加到 ARM-Linux的androideabi-G ++ ,我需要运行能够通过这个问题?

Do you know how can I add this library to the arm-linux-androideabi-g++ that I need to run to be able to pass this problem?

推荐答案

[1] 获取OpenSSL库里面有 aes.h文件在其包含的文件夹。

[1] Get openssl library which has aes.h file in its include folder.

[2] 如果您已在lib文件夹编译OpenSSL库,然后添加到 -lssl或-lopenssl 以您的命令行。

[2] If you have compiled openssl library in your lib folder then add to -lssl or -lopenssl to your command line.

这篇关于" OpenSSL的/ aes.h:没有这样的文件或目录" Android的下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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