cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curlpp mailing list Archives

[cURLpp] Problem using curlpp with VS2005 SP1

From: Slava Tutushkin <prog_at_eskosoft.com>
Date: Fri, 7 Sep 2007 02:18:09 +0400

Hi all,

Looks like I start getting problems with curlpp under msvc8 sp1. I suspect, it was ok before installing sp1.

curlpp is the latest (0.7.1). The library itself builds great. The problem is with building with the first example.

Could someone suggest what shall I change in the source to get this thing working?

Thanks.

  C:\lib\curlpp\examples>nmake -f makefile.msvc all

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

        cl.exe /MD /O2 /DNDEBUG /GR /Y- /I ../ /I "../../curl/include" /DCURLPP_STATICLIB /nologo /W3 /GX /DWIN32 /YX /
FD /c /Fo"example01.o" example01.cpp
cl : Command line warning D9035 : option 'GX' has been deprecated and will be removed in a future release
cl : Command line warning D9036 : use 'EHsc' instead of 'GX'
cl : Command line warning D9002 : ignoring unknown option '/YX'
example01.cpp
c:\lib\curlpp\curlpp\Option.inl(117) : error C2244: 'cURLpp::OptionTrait<OptionType,option>::{ctor}' : unable to match f
unction 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)'
c:\lib\curlpp\curlpp\Option.inl(163) : error C2244: 'cURLpp::NotAvailableOptionTrait<OptionType>::{ctor}' : unable to ma
tch 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)'
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\BIN\cl.exe"' : return code '0x2'
Stop.

-- 
Best regards,
 Slava                          mailto:prog_at_eskosoft.com
_______________________________________________
cURLpp mailing list
cURLpp_at_rrette.com
http://www.rrette.com/mailman/listinfo/curlpp
Received on 2007-09-07

These mail archives are generated by hypermail.

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

File upload with ASP.NET