Reputation: 35
I'm using Xcode for developing a simple app. I need a library called cURL, for manage simple connection methods, but I really dunno how to import this library in Xcode. I am programming in C++, and I know that isn't very a good idea program that on a Mac, but I haven't got other options. Thanks in advance!
Upvotes: 0
Views: 1192
Reputation: 212929
libcurl
is a standard library on Mac OS X - headers are in /usr/include/curl
and libraries are in /usr/lib
as you might expect.
You can either just add the relevant header(s) and library(ies) to your project explicitly (makes looking stuff up easier and avoids having to set build flags), or you can do it the old skool way by specifying linker flags in the build settings.
Upvotes: 2