curl-library
Cannot compile example01 on MS VS S2005
Date: Fri, 29 Jun 2007 12:19:11 -0300
Hi
I've succesfully compiled curlcpp.lib ,
just adding BUILDING_CURLPP and CURLPP_STATICLIB defines
to the Visual Studio solution in "curlpp-0.7.0.tar.gz";
and linking with binary "libcurl.lib" in "libcurl-7.15.5-win32-msvc.zip"
But I get this errors when trying to build the first example01.
I've searched the mailing list archives, but found no similar experiences.
Could anyone give a hint about what's the problem here ?
The problem doesn't seem to be inside the example's code itslef,
but in the curlpp's "option.inl" file.
thanks in advance
Diego Susa
(www.cestel.es)
Output Log
Compiling...
example01.cpp
d:\dev\curl\curlpp-0.7.0\curlpp\option.inl(119) : error C2244:
'cURLpp::OptionTrait<OptionType,option>::{ctor}' : unable to match
function definition to an existing declaration
definition
'cURLpp::OptionTrait<OptionType,option>::OptionTrait(cURLpp::Option<OptionType>::ParamType)'
existing declarations
'cURLpp::OptionTrait<OptionType,option>::OptionTrait(void)'
'cURLpp::OptionTrait<OptionType,option>::OptionTrait(OptionContainer<OptionType>::ParamType)'
d:\dev\curl\curlpp-0.7.0\curlpp\option.inl(165) : error C2244:
'cURLpp::NotAvailableOptionTrait<OptionType>::{ctor}' : unable to match
function definition to an existing declaration
definition
'cURLpp::NotAvailableOptionTrait<OptionType>::NotAvailableOptionTrait(cURLpp::Option<OptionType>::ParamType)'
existing declarations
'cURLpp::NotAvailableOptionTrait<OptionType>::NotAvailableOptionTrait(void)'
'cURLpp::NotAvailableOptionTrait<OptionType>::NotAvailableOptionTrait(OptionContainer<OptionType>::ParamType)'
Build log was saved at
"file://d:\dev\cURL\curlpp-0.7.0\examples\ex01\Debug\BuildLog.htm"
ex01 - 2 error(s), 0 warning(s)
Received on 2007-06-29