Re: How Do I Statically Link to libcurl?
Re: How Do I Statically Link to libcurl?
- Subject: Re: How Do I Statically Link to libcurl?
- From: Kyle Sluder <email@hidden>
- Date: Wed, 1 Jul 2009 12:21:18 -0700
On Wed, Jul 1, 2009 at 10:13 AM, Chris Tracewell<email@hidden> wrote:
> Okay thanks, that at least helped me find the library - which was step one.
> There were several version, I choose libcurl.4.dylib. I am not sure where to
> go now though. I added -libcurl in "Other Linker Flags" in my build settings
> and put #import <curl.h> (a wild stab) in my header file but I still get
> errors when compiling stating that all of my CURL functions are undeclared.
curl.h lives in /usr/include/curl/, so you'll need to #include it like
so: #include <curl/curl.h>
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden