Himanshu Rastogi wrote:

My configuration:
*Included Library:* /libssl, libssh2, zlibwapi, libcrypo, nghttp2, Ws2_32, 
Wldap32, Normaliz, winmm./
/*CFLAGS : /*MT/
*Preprocessor macro: *CURL_STATICLIB
*Compiler: VC15*
*BUT!*
After all these configuration it still show error messages like:
*BUILD OUTPUT:*
K4049: locally defined symbol __open imported
libcurl.lib(mime.obj) : error LNK2019: unresolved external symbol __imp__access 
referenced in function _curl_mime_filedata

I suspect you have compiled files with both:
  cl -MT ...   (for your code)
and:
  cl -MD ...   (for libcurl code)

Try linking with 'link -verbose ...', redirect the output
and look for what CRT libraries pulls in.

crypto.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertOpenStore@20 referenced in function _capi_open_store

You need to ensure 'link ... crypt32.lib' is used.


--
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to