• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How Do I Statically Link to libcurl?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Re: How Do I Statically Link to libcurl? (From: Chris Tracewell <email@hidden>)

  • Prev by Date: A More User-Friendly FSResolveAlias/WithMountFlags()
  • Next by Date: [NSImageView setImage:theImage] Thread safe??
  • Previous by thread: Re: How Do I Statically Link to libcurl?
  • Next by thread: Re: How Do I Statically Link to libcurl?
  • Index(es):
    • Date
    • Thread