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] Compiling my own library with curlpp - error

From: George Elias <fs.georgee_at_gmail.com>
Date: Fri, 7 Nov 2008 09:56:22 -0200

Hi,

I'm having some problems when I include curlpp in my own library. This is
what I get:

C:\Projetos\curlpp-0.7.2\curlpp\cURLpp.hpp(66) : error C2065: 'dllimport' :
undeclared identifier C:\Projetos\curlpp-0.7.2\curlpp\cURLpp.hpp(66) : error
C2182: '__cdeclspec' : illegal use of type 'void'
C:\Projetos\curlpp-0.7.2\curlpp\cURLpp.hpp(66) : error C2146: syntax error :
missing ';' before identifier 'initialize'
C:\Projetos\curlpp-0.7.2\curlpp\cURLpp.hpp(66) : fatal error C1075: end of
file found before the left brace '{' at
'C:\Projetos\curlpp-0.7.2\curlpp\cURLpp.hpp(40)' was matched

I have no idea why this shows up. I built curlpp on Visual Studio 7 as a
static library, it compiles fine, the problem is when I'm trying to compile
my own library (the one I'm developing).

Does anyone have any idea why this happens?? I've googled for a couple of
days but no luck so far...

Thanks in advance, George

-- 
George Elias Ferreira da Silva
(48) 9911-5084

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

These mail archives are generated by hypermail.

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

File upload with ASP.NET