On Jun 3, 2009, at 3:14 AM, Michael Wood wrote:
On Wed, Jun 3, 2009 at 8:42 AM, Kushan Thakkar <[email protected]> wrote:[...]When I run this code, I get the following four errors: "_curl_easy_perform", referenced from: _main in main.o "_curl_easy_setopt", referenced from: _main in main.o "_curl_easy_cleanup", referenced from: _main in main.o "_curl_easy_init", referenced from: _main in main.o ld: symbol(s) not found collect2: ld returned 1 exit statusXcode doesn't know what library to link with. You will need to tell it to link with libcurl. Not sure exactly how you do that, though.
In Xcode 3, select the target and Get Info... on it. In the General tab there is a pane named Linked Libraries. Either click the "+" below the pane and navigate to the libcurl you want to use, or drag the library in from the Finder.
Daniel
smime.p7s
Description: S/MIME cryptographic signature
