curl-library
Re: Linking in VC
From: Georg Lippitsch <georg.lippitsch_at_gmx.at>
Date: Mon, 28 Jan 2008 18:52:20 +0100
Date: Mon, 28 Jan 2008 18:52:20 +0100
Am Montag, 28. Januar 2008 11:44 schrieb Gisle Vanem:
> "Georg Lippitsch" <georg.lippitsch_at_gmx.at> wrote:
> > When linking against latest libcurl-CVS in MSVC (Visual C++ 2005
> > Express), it has a lot of errors like:
> >
> > 2>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol
> > __imp__ldap_unbind_s referenced in function _Curl_ldap
>
> Did you link with wldap32.lib?
Ah, thank you, with that it works!
> If you don't need ldap, add CURL_DISABLE_LDAP to the CFLAGS.
That works too, just was not sure where to add this.
lib/Makefile.vc6 seems to be the right place ...
Thanks!
Georg
Received on 2008-01-28