Packaging up libcURL for easy distribution
So I want to package up a really simple and easy-to-use Twitter API that just accesses some of the basic public API calls (such as the public timeline).
To this end, I plan to wrap an API around libcURL to do this.
A couple of caveats. First, I am designing this for students in a class I am TAing. They are just learning how to program, so I need a cross-platform way to have it transparently and painlessly be included in their projects.
I've had difficulty with unresolved externals on Mac (I have almost no Mac C++ experience and am only OK at including packages on Windows).
How can I package libcURL this seamlessly?
I will select the answer that has lots o开发者_StackOverflow社区f clarity and step-by-steps it, as I'm definitely a noob in this arena.
I would rather recommend that you install/require a libcurl installed from fink/macports that already do a good job at packaging libcurl.
Then you can instead focus your work to get your layer on top of that done really nice.
精彩评论