What happens when you follow the advice on the firdr line on the error msg? Den 12 aug 2012 09:18 skrev "Sean Moser" <[email protected]>:
> Okay so I have been folllowing this guide > http://curl.haxx.se/libcurl/c/Using-libcurl-with-SSH-support-in-Visual-Studio-2008.pdf. > I get all the way to the end. I have libcurl compiled and ready to go. I > load the library into the test project and when I try to build I get these > errors. > 1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other > libs; use /NODEFAULTLIB:library > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_unbind_s referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_msgfree referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ber_free referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_memfree referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_value_free_len referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_get_values_len referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_next_attribute referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_first_attribute referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_get_dn referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_next_entry referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_first_entry referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_search_s referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_simple_bind_s referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_init referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_set_option referenced in function _Curl_ldap > 1>libcurl.lib(ldap.obj) : error LNK2019: unresolved external symbol > __imp__ldap_err2string referenced in function _Curl_ldap > > > I have been trying to get it working for about 2 hours now and I cant > figure it out. Any help would be great. > > ------------------------------------------------------------------- > List admin: http://cool.haxx.se/list/listinfo/curl-library > Etiquette: http://curl.haxx.se/mail/etiquette.html >
------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.html
