| |
|
|
|
cURL Mailing List Monthly Index Single Mail
curlpp mailing list Archives
[cURLpp] Examples crashed in Visual Studio 2005 due to Access violation
From: Peter King <pwang2068_at_gmail.com>
Date: Mon, 21 May 2007 22:56:08 -0700
Hi all,
I'm new to cURLpp and I'm trying to compile and run cURLpp examples in
There is an access violation at the following line:
request.setOpt(new HttpHeader(headers));
The violation happens in "OptionContainer.inl" at the following method.
template< class OptionType >
I noticed that the mList in mValue is not initialized. But I'm not
The wired thing is that when I build the example through command line
I guess I must have done something stupid in setting up Visual studio
For Makefile.msvc, I used
cl.exe /MD /O2 /DNDEBUG /GR /Y- /I ../ /I "c:\libs\curl/include" /DCURL
For Visual Studio 2005, I used
/Od /I "C:\libs\curl\include" /I "C:\libs\curlpp" /D "WIN32" /D
and
/OUT:"C:\workspace\curlpp-test\Debug\curlpp-test.exe" /INCREMENTAL
Can anybody shed some light here?
Thanks a lot,
Pengfei
These mail archives are generated by hypermail. |
Page updated November 12, 2010.
web site info