ben
ben

Reputation: 1020

Why is there a compile error when including OpenSSL static library?

I have some problems using OpenSSL. I'm following the tutorial for compiling OpenSSL for iOS, but it is still not working. Here is my problem:

  1. Change directories into crypto/ui/ui_openssl.c.
  2. Build OpenSSL for i368 iPhone simulator.
  3. Copy the include, libcrypto.a and libssl.a to the project folder.
  4. Drag libcrypto.a and libssl.a to project tree.
  5. Change the build info.

It worked with openssl-1.0.0c. Then as I was coding #include <openssl/md5.h> and building, I got the error "no such file or directory." enter image description here Help! Thanks a lot!

Upvotes: 4

Views: 3754

Answers (1)

Robin
Robin

Reputation: 10011

@ben do you something like this in your project enter image description here

Upvotes: 1

Related Questions