You can clone with
HTTPS or Subversion.
I just found out about cpp-netlib a few days ago and really liked it from the documentation. However I have been having issues trying to compile even the slightest bit of code with it.
I'm using VS IDE, running on Windows XP.
Basically what I tried to do first, based on this documentation was:
using namespace boost::network::uri;
For that I get the following error:
error C3083: 'network': the symbol to the left of a '::' must be a type
Then I saw another documentation, this one, and tried this:
using namespace boost::network;
Which ended up giving the following error:
error C2039: 'network' : is not a member of 'boost'
I must admin I haven't been sure how to extract the cpp-netlib files off the tar.gz file. I tried different combinations putting them around the boost folder (as I didn't have any "include" folder beforehand and wasn't sure where to put it).
For now my includes are:
Any help would be very much appreciated.
Thank you in advance,
Oh, one more thing that I am not sure about..
Most code samples I find on the net include <boost/network/uri.hpp>
Yet that file itself refers to <network/uri/uri.hpp>, which is obviously not the same location. How should that be handled?
The first link refers to 0.7 documentation which we longer support.
As for installation, you don't need to place cpp-netlib in the boost directory - all you need is boost installed somewhere on your system (at least 1.45 for cpp-netlib 0.9.4) and make sure that the environment variable BOOST_ROOT is set to the system path for boost.
And for your second comment, it seems like you're using the latest code from master, which is not currently in a stable state, and the documentation has not yet been updated to reflect the new structure. The documentation refers to the latest stable version (0.9.4).
If you have any further issue, please raise them on our mailing list: https://groups.google.com/forum/?fromgroups#!forum/cpp-netlib