为什么在包含OpenSSL静态库时会出现编译错误?
问题描述:
我在使用OpenSSL时遇到了一些问题。我正在关注tutorial for compiling OpenSSL for iOS,但它仍然无法正常工作。这是我的问题:为什么在包含OpenSSL静态库时会出现编译错误?
- 将目录更改为
crypto/ui/ui_openssl.c
。 - 构建用于i368 iPhone模拟器的OpenSSL。
- 将
include
,libcrypto.a
和libssl.a
复制到项目文件夹中。 - 将
libcrypto.a
和libssl.a
拖到项目树上。 - 更改构建信息。
它与openssl-1.0.0c
合作。然后,当我编码#include <openssl/md5.h>
和建筑物时,我收到错误“没有这样的文件或目录”。 帮助!非常感谢!
答
@ben你这样的事情在你的项目
当然
我did.the第4步做。 libssl.a&libcryto.a是我自己编译的 – ben 2011-01-29 08:47:22