cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

Re: [cURLpp] 0.7.2 build problem

From: Piotr Niemcunowicz <piotr.niemcunowicz_at_gmail.com>
Date: Wed, 04 Jun 2008 09:14:47 +0200

Jeff Ye pisze:
> Hi, I tried to build cURLpp 0.7.2 on Fedora 9. But looks like missing
> some includes in the source file. I am not sure this bug is platform
> related or not. So I just list them here:
>
> 1. LifetimeWithLongevity.hpp: missing #include <algorithm>, which makes
> compiler complaining about "upper_bound" function
> in LifetimeWithLongevity.inl.
>
> 2. CurlHandle.cpp: missing #include <cstring>, which makes compiler
> complaining about "memset" function.
>
> 3. cURLpp.cpp: missing #include <cstdlib>, which makes compiler
> complaining about "free" function.
>
> 4. example02.cpp: missing #include <string>, which makes compiler
> complaining about "strncpy" function.
>
> 5. example05.cpp: missing #include <string>, which makes compiler
> complaining about "memcpy" function.
>
> 6. example06.cpp: missing #include <string>, which makes compiler
> complaining about "memcpy" function.
>
> 7. example10.cpp: missing #include <cstdlib>, which makes compiler
> complaining about 'EXIT_FAILURE' value.
>
> 8. example11.cpp: missing #include<cstring>, which makes compiler
> complaining about ‘strerror’ function.
>
> 9. example13.cpp: missing #include <cstdlib>, which makes compiler
> complaining about 'EXIT_FAILURE' value. Line 38, 63: new gcc compiler
> seems need a space between ; and while loop.
>
> 10. example14.cpp: same as (9). Line 62, 97.
>
> 11. example21.cpp: missing #include <string>, which makes compiler
> complaining about "strncpy" function.
>

Hi,

these are basic include files from STL. Are you sure you`ve got g++
installed properly (with all standard includes) ?

_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2008-06-04

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET