cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Library issue (again?)

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 22 Nov 2007 20:28:16 +0100

> Is the /MT multi-threaded library the correct one?

Yes if all libraries in your project are static and you'r not building a dll.

> I have also defined the CURL_STATICLIB in the preprocessor directives for
> the test module based on a posting I read, but I am not sure if this is needed,
> correct, etc.

Read docs/INSTALL section Win32 (line 145 onwards) again, and when you
get near line 345 slow down and keep reading a few more lines ;-)

> Linking...
> curllib.lib(ldap.obj) : error LNK2019: unresolved external symbol __imp__ldap_unbind_s referenced in function _Curl_ldap
> curllib.lib(ldap.obj) : error LNK2019: unresolved external symbol __imp__ldap_msgfree referenced in function _Curl_ldap

Link also with wldap32.lib

-- 
-=[Yang]=-
Received on 2007-11-22