Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

marsyanggo

macrumors newbie
Original poster
Nov 17, 2009
4
0
Hi Dear all

I am trying to call some openssl function in my code.

I had add /Developer/SDKs/MacOSX10.5.sdk/usr/include/ in the search header path.

And add -lssl -lcrypto in link other flag.

Then I import the openssl header file
#include "openssl/dh.h"

Then I meet the compile error.

Did any one meet the problem before.:confused:
 
Yes.
I change the @ header from @protocol to @interface

It is compiled.

I am an newbie for Mac programming.
Thanks for your helps.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.