cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: i cant link the library to my project

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Sat, 8 Mar 2008 20:26:14 +0100 (CET)

On Sat, 8 Mar 2008, shadow wrote:

> i set the search directories in codeblock to where is the lib and the
> include's files, also i tried to set the CFLAG=-DCURL_STATICLIB but
> still have the same error:

CFLAGS

> this it's the link flags what i have set in the IDE:
>
> -DCURL_STATICLIB -lcurl -lws2_32 -lssh2 -lwldap32 -lwinmm

-D is compiler (preprocessor actually) flag, not a link flag.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2008-03-08