Thanks! I'll include this in the next release.

On Thu, Feb 12, 2009 at 8:51 AM, Walter Landry <[email protected]> wrote:

> Greetings,
>
> In order to get curlpp to compile on my machine, I had to add in some
> missing #includes and change curlpp.hpp to cURLpp.hpp.  I am attaching
> a diff against the repository at
>
>  http://bitbucket.org/jpbarrette/curlpp/
>
> Cheers,
> Walter Landry
> [email protected]
>
> diff -r 008c2390b13a examples/example00.cpp
> --- a/examples/example00.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example00.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -4,7 +4,7 @@
>  *
>  */
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>
> diff -r 008c2390b13a examples/example01.cpp
> --- a/examples/example01.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example01.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -32,7 +32,7 @@
>  #include <sstream>
>  #include <iostream>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>
> diff -r 008c2390b13a examples/example02.cpp
> --- a/examples/example02.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example02.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -33,7 +33,7 @@
>  #include <cstdio>
>  #include <cstring>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example03.cpp
> --- a/examples/example03.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example03.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -29,7 +29,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example04.cpp
> --- a/examples/example04.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example04.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -30,7 +30,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example05.cpp
> --- a/examples/example05.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example05.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>  #include <cstdlib>
>  #include <cstring>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example06.cpp
> --- a/examples/example06.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example06.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>  #include <cstdlib>
>  #include <cstring>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example07.cpp
> --- a/examples/example07.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example07.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -12,7 +12,7 @@
>  #include <cstdlib>
>  #include <ctime>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>
>  #define CURLPP_ALLOW_NOT_AVAILABLE
> diff -r 008c2390b13a examples/example08.cpp
> --- a/examples/example08.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example08.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -30,7 +30,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example09.cpp
> --- a/examples/example09.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example09.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -30,7 +30,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example10.cpp
> --- a/examples/example10.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example10.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -33,7 +33,7 @@
>  #include <cstdio>
>  #include <cstring>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example11.cpp
> --- a/examples/example11.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example11.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -28,7 +28,7 @@
>  *
>  */
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example12.cpp
> --- a/examples/example12.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example12.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>  #include <cstdlib>
>  #include <cerrno>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example13.cpp
> --- a/examples/example13.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example13.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -32,7 +32,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Multi.hpp>
>  #include <curlpp/Options.hpp>
> diff -r 008c2390b13a examples/example14.cpp
> --- a/examples/example14.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example14.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Multi.hpp>
>  #include <curlpp/Options.hpp>
> diff -r 008c2390b13a examples/example15.cpp
> --- a/examples/example15.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example15.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>  #include <string>
>  #include <iostream>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>
> diff -r 008c2390b13a examples/example16.cpp
> --- a/examples/example16.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example16.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -31,7 +31,7 @@
>  #include <cstdlib>
>  #include <cerrno>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example17.cpp
> --- a/examples/example17.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example17.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -21,7 +21,7 @@
>  *    SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
>  */
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example18.cpp
> --- a/examples/example18.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example18.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -32,7 +32,7 @@
>  #include <cstdlib>
>
>  #include <boost/bind.hpp>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example19.cpp
> --- a/examples/example19.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example19.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -33,7 +33,7 @@
>  #include <cstdlib>
>  #include <cerrno>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example20.cpp
> --- a/examples/example20.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example20.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -33,7 +33,7 @@
>  #include <cstdlib>
>
>  #include <boost/bind.hpp>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example21.cpp
> --- a/examples/example21.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example21.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -34,7 +34,7 @@
>  #include <cstdio>
>  #include <cstring>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example22.cpp
> --- a/examples/example22.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example22.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -32,7 +32,7 @@
>
>  #include <cstdlib>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>  #include <curlpp/Exception.hpp>
> diff -r 008c2390b13a examples/example23.cpp
> --- a/examples/example23.cpp    Sun Feb 01 12:58:25 2009 -0500
> +++ b/examples/example23.cpp    Thu Feb 12 05:50:14 2009 -0800
> @@ -6,7 +6,7 @@
>
>  #include <vector>
>
> -#include <curlpp/curlpp.hpp>
> +#include <curlpp/cURLpp.hpp>
>  #include <curlpp/Easy.hpp>
>  #include <curlpp/Options.hpp>
>
> diff -r 008c2390b13a include/curlpp/internal/SList.hpp
> --- a/include/curlpp/internal/SList.hpp Sun Feb 01 12:58:25 2009 -0500
> +++ b/include/curlpp/internal/SList.hpp Thu Feb 12 05:50:14 2009 -0800
> @@ -30,7 +30,7 @@
>  #include <curl/curl.h>
>
>  #include <list>
> -
> +#include <string>
>
>  namespace curlpp
>  {
> diff -r 008c2390b13a src/curlpp/cURLpp.cpp
> --- a/src/curlpp/cURLpp.cpp     Sun Feb 01 12:58:25 2009 -0500
> +++ b/src/curlpp/cURLpp.cpp     Thu Feb 12 05:50:14 2009 -0800
> @@ -3,7 +3,7 @@
>
>  #include "curlpp/internal/global.h"
>
> -#include "curlpp/curlpp.hpp"
> +#include "curlpp/cURLpp.hpp"
>  #include "curlpp/Exception.hpp"
>
>  #include <cstdlib>
> diff -r 008c2390b13a src/curlpp/internal/CurlHandle.cpp
> --- a/src/curlpp/internal/CurlHandle.cpp        Sun Feb 01 12:58:25 2009
> -0500
> +++ b/src/curlpp/internal/CurlHandle.cpp        Thu Feb 12 05:50:14 2009
> -0800
> @@ -24,7 +24,6 @@
>  #include "curlpp/internal/global.h"
>  #include "curlpp/internal/CurlHandle.hpp"
>
> -#include "curlpp/curlpp.hpp"
>  #include "curlpp/Exception.hpp"
>
>  #include <string>
>
> _______________________________________________
> cURLpp mailing list
> [email protected]
> http://www.rrette.com/mailman/listinfo/curlpp
>
>
_______________________________________________
cURLpp mailing list
[email protected]
http://www.rrette.com/mailman/listinfo/curlpp

Reply via email to