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] Compiler Probs installing curlpp-0-5

From: Jean-Philippe Barrette-LaPierre <jean-philippe.barrette-lapierre_at_savoirfairelinux.com>
Date: Tue, 5 Jul 2005 07:58:36 -0400

On July 5, 2005 05:39 am, Thorsten Viel wrote:
> Hi,
>
> Im compiling with following command (which already worked on other
> machines):
>
> g++ -o emitter -Wno-deprecated -I/usr/include/mysql -I./ -L/usr/lib/mysql
> -I/usr /include -L./ -lmysqlclient -lmimepp -lcurl -lcurlpp -lssl -lcrypto
> *.cpp
>

and where is located curl's include files?

>
> PS: Why dont I receive mails from the list and have to go through the
> archive to see answers to my thread?
>

You selected the "digest" option for the mailing-list. I removed this option
from your account. You will now receive the messages individually.

>
> Last messages in thread
>
> On July 4, 2005 01:41 pm, Thorsten Viel wrote:
> > Hi List,
> >
> > prior to my first mail, hello to everybody.
> >
> > Now this is my prob:
> >
> > I installed via configure && make && make install curl-7.13.0 and
> > curlpp-0.5.0. Everything went well. Now I try to compile a program
> > (gcc3.3.3), which was already running and compilable in another system
> > using curl and curlpp.
> >
> > Now these are the results:
>
> Can you send the compiler command?
>
> > ---------------------
> >
> > In file included from /usr/local/include/curlpp/Option.hpp:27,
> > from /usr/local/include/curlpp/Options.hpp:25,
> > from emitter.cpp:85:
> > /usr/local/include/curlpp/OptionBase.hpp:40: error: syntax error before
> > `)' token
> > /usr/local/include/curlpp/OptionBase.hpp:55: error: syntax error before
> > `(' token
> > /usr/local/include/curlpp/OptionBase.hpp:81: error: syntax error before
> > `;' token
> > In file included from
> > /usr/local/include/curlpp/OptionContainerType.hpp:31, from
> > /usr/local/include/curlpp/OptionContainer.hpp:27, from
> > /usr/local/include/curlpp/Option.hpp:28,
> > from /usr/local/include/curlpp/Options.hpp:25,
> > from emitter.cpp:85:
> > /usr/local/include/curlpp/Form.hpp:59: error: syntax error before `*'
> > token /usr/local/include/curlpp/Form.hpp:67: error: syntax error before
> > `*' token /usr/local/include/curlpp/Form.hpp:68: error: syntax error
> > before `*' token /usr/local/include/curlpp/Form.hpp:99: error:
> > `curl_httppost' undeclared in namespace `cURL'
> > /usr/local/include/curlpp/Form.hpp:99: error: `first' was not declared in
> > this scope
> > /usr/local/include/curlpp/Form.hpp:100: error: `curl_httppost' undeclared
> > in namespace `cURL'
> > /usr/local/include/curlpp/Form.hpp:100: error: `last' was not declared in
> > this scope
> > /usr/local/include/curlpp/Form.hpp:100: error: variable declaration is
> > not allowed here
> > /usr/local/include/curlpp/Form.hpp:114: error: syntax error before `{'
> > token /usr/local/include/curlpp/Form.hpp:148: error: destructors must be
> > member functions
> > /usr/local/include/curlpp/Form.hpp:148: error: virtual outside class
> > declaration
> > /usr/local/include/curlpp/Form.hpp:153: error: syntax error before `*'
> > token /usr/local/include/curlpp/Form.hpp:169: error: syntax error before
> > `{' token /usr/local/include/curlpp/Form.hpp:203: error: destructors must
> > be member functions
> > /usr/local/include/curlpp/Form.hpp:203: error: virtual outside class
> > declaration
> > /usr/local/include/curlpp/Form.hpp:208: error: syntax error before `*'
> > token /usr/local/include/curlpp/Form.hpp:218: error: syntax error before
> > `}' token In file included from
> > /usr/local/include/curlpp/OptionContainer.hpp:27, from
> > /usr/local/include/curlpp/Option.hpp:28,
> > from /usr/local/include/curlpp/Options.hpp:25,
> > from emitter.cpp:85:
> > /usr/local/include/curlpp/OptionContainerType.hpp:56: error: `
> > OptionContainerType' is not a template
> > /usr/local/include/curlpp/OptionContainerType.hpp:58: confused by earlier
> > errors, bailing out
> >
> > -------------------
> >
> >
> > OptionBase.hpp:40 for example contains a reference to namespace cURL::
> > which seems not to be wellknown, although all includes are in place.
> >
> > It seems that the cURL.hpp which looks like:
> >
> > namespace cURL{
> > #include <curl/curl.h>
> > }
> >
> > is bailing out the compiler. Moving the definition of namespace in curl.h
> > and deleting the cURL:: prefix is resulting in not having the first 3
> > errors. But going this way is a never ending story in changing sources.
> >
> > Is this error wellknown or has anybody a hint for me?
> >
> > System is SuSE 9.2, gcc3.3.3, curlpp0.5.0, curl-7.13.0
> >
> > Thanks in advance
>
> _______________________________________________
> cURLpp mailing list
> cURLpp_at_rrette.com
> http://www.rrette.com/mailman/listinfo/curlpp

-- 
Jean-Philippe Barrette-LaPierre
Savoir-Faire Linux
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2005-07-05

These mail archives are generated by hypermail.

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

File upload with ASP.NET