openssl/bn.h: No such file or directory

Viewed 19345

I am totally new to Obj-C, and trying to compile Big Number related Objective C files

The function was easy, just to initialize a big number and use NSLog to print it out.

I used

#import <openssl/bn.h>

but the xcode always displays me an error:

openssl/bn.h: No such file or directory.

I tried to find out if the .h file were missing, and typed locate in my terminal:

$ locate bn.h
/Developer/SDKs/MacOSX10.6.sdk/usr/include/openssl/bn.h
/usr/include/openssl/bn.h
/usr/local/texlive/2010/texmf-dist/tex/generic/hyph-utf8/patterns/txt/hyph-bn.hyp.txt

It seemed I have the bn.h file, but why the xcode kept me from compiling?

Thanks for any help!!

3 Answers
Related