I spent half of the day today unsuccessfully trying to install cpp-netlib on Mac OS X (the goal is to implement asynchronous http requests in C++). When I do 'make' to build and run the tests, I have lots of "no matching constructor" errors coming from Boost. Having read this, I tried installing different versions of Boost (1.49, 1.50, 1.51), but that didn't help. So I'm at the point of thinking of alternatives to cpp-netlib. One possibility is to use Boost.Asio directly, but it would have been great to use something like cpp-netlib as it is much easier to use once it's installed. Any alternatives to cpp-netlib which come to mind? Or any other way I should try to make cpp-netlib pass the tests? Thanks in advance!
-
Boost::Asio isn't that hard once you get used to it, give it a go. Read the examples, not only the ones that you are interested in directly, helped me much.jt234– jt2342012-10-24 08:17:42 +00:00Commented Oct 24, 2012 at 8:17
-
@jt234 cpp-netlib is at a higher level than Boost ASIO, and probably uses ASIO as it's goal is to be a part of Boost.Some programmer dude– Some programmer dude2012-10-24 08:33:37 +00:00Commented Oct 24, 2012 at 8:33
-
Arman, could you please post an SSCCE together with the errors, then maybe we can help you with those instead? Otherwise this question will probably be closed.Some programmer dude– Some programmer dude2012-10-24 08:35:34 +00:00Commented Oct 24, 2012 at 8:35
-
@JoachimPileborg I actually decided to stick with cpp-netlib. Thanks for your help!Arman– Arman2012-10-25 00:25:40 +00:00Commented Oct 25, 2012 at 0:25
Add a comment
|