cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: How to prepare a setup for libcurl development

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 4 Dec 2009 13:04:01 +0100 (CET)

On Thu, 3 Dec 2009, nitin.mittal_at_rsa.com wrote:

> Output: Error 12 error LNK2001: unresolved external symbol
> __imp__curl_easy_init wsman.obj

> Preprocessor:
> WIN32;_DEBUG;_CONSOLE;USE_SSLEAY;USE_OPENSSL;-DCURL_STATICLIB

This looks wrong. They are all names but the last one has "-D" prepended to
it. The define is named "CURL_STATICLIB", the -D is only for passing the
defien to the compiler.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-04