On Fri, Nov 7, 2008 at 6:56 AM, George Elias <[EMAIL PROTECTED]> wrote:
> 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... > First I would try the latest version on the repository. Andrei Korostelev made many fixes for Visual C++ 2005 and Piotr Dobrogost is doing some cleaning for Visual C++ 2007. Andrei Korstelev changes are availables here: http://www.bitbucket.org/jpbarrette/curlpp/overview/ (there's a downlink link somewhere) I think Piotr changes are not available yet, but should be soon. > > > Thanks in advance, George > > -- > George Elias Ferreira da Silva > (48) 9911-5084 > > _______________________________________________ > cURLpp mailing list > cURLpp@rrette.com > http://www.rrette.com/mailman/listinfo/curlpp > >
_______________________________________________ cURLpp mailing list cURLpp@rrette.com http://www.rrette.com/mailman/listinfo/curlpp