正在加载OpenSSL动态库x86(FMX,C ++) [英] Loading OpenSSL dynamic libraries arm & x86 (FMX, C++)

查看:129
本文介绍了正在加载OpenSSL动态库x86(FMX,C ++)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于



但是,第二个 libcrypto.so 不会显示在部署窗口中,仅保留我添加的第一个版本(ARM版本)。



我希望我可以以某种方式使用编译器指令,但也许我只需要两个独立的项目?一个是为Android ARM打造的,另一个是为Android x86构建的?此外,我在代码中所需的只是一个 IdHTTP1-> Get(),所以也许这是我可以使用内置BoringSSL fork的一种方式?如果是,怎么办?



russ



C ++ Builder 10.3版本26.0.33219.4899

解决方案

RAD Studio不支持仅针对ARM为Intel生产Android应用程序,因此甚至不必担心尝试在Android上使用x86库。



此外, Indy不支持此时无聊的SSL


I am able to use OpenSSL static libraries (libcrypto.a and libssl.a) in my iOS app thanks to this help. Now i can also use OpenSSL dynamic libraries (libcrypto.so and libssl.so) in my Android app version thanks to this info. I downloaded the files for Android in the OpenSSL_1.0.2g_Android.zip file from here. I just guessed and used the ARM files (armeabi-v7a folder) instead of the Intel files (x86 folder) and it worked on my Android test phone.

My question: How do I make an Android build that uses the correct library files on ARM devices AND also on Intel? I don't know how to deploy both sets of files for this. Below is snip of project window showing where i test added the second libcrytpo.so library file for x86.

But, this second libcrypto.so does not show up in the deployment window, only the first version i added (the ARM version) remains.

I was hoping i could somehow use compiler directives but maybe i just need 2 independent projects altogether? One built for Android ARM and other for Android x86? Further, all i'm needing in my code is an IdHTTP1->Get() so maybe their is a way i can use the built in BoringSSL fork? If so, how?

russ

C++Builder 10.3 Version 26.0.33219.4899

解决方案

RAD Studio does not support producing Android apps for Intel, only for ARM, so don't even worry about trying to use the x86 libs on Android.

Also, Indy does not support BoringSSL at this time.

这篇关于正在加载OpenSSL动态库x86(FMX,C ++)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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