Overview
Features
Download
Documentation
Community
Add-Ons & Services

when building Poco::Crypto i get unresolved external symbols

Please post support and help requests here.

when building Poco::Crypto i get unresolved external symbols

Postby jcotner » 09 Sep 2012, 18:57

1> Creating library ..\lib\PocoCrypto.lib and object ..\lib\PocoCrypto.exp
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertFreeCertificateContext@4 referenced in function _capi_free_key
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertGetCertificateContextProperty@16 referenced in function _capi_get_prov_info
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertOpenStore@20 referenced in function _capi_open_store
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertFindCertificateInStore@24 referenced in function _capi_find_cert
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertEnumCertificatesInStore@8 referenced in function _capi_find_cert
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertCloseStore@8 referenced in function _capi_find_key
1>libeay32.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertDuplicateCertificateContext@4 referenced in function _capi_load_ssl_client_cert
1>..\bin\PocoCrypto.dll : fatal error LNK1120: 7 unresolved externals

I manually built openssl, and i had no errors doing so. Any help would be appreciated.
jcotner
 
Posts: 2
Joined: 09 Sep 2012, 18:19

Re: when building Poco::Crypto i get unresolved external sym

Postby alex » 10 Sep 2012, 14:20

Poco and VS version with exact command line for linker would help. Generally speaking, on windows you have to link with Crypt32.
alex
 
Posts: 1086
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: when building Poco::Crypto i get unresolved external sym

Postby jcotner » 10 Sep 2012, 15:20

Alex, that's the exact issue i was having. I opened the Poco::Crypto project file and built it with vs, adding Crypt32.lib to the linker.
jcotner
 
Posts: 2
Joined: 09 Sep 2012, 18:19


Return to Support

Who is online

Users browsing this forum: No registered users and 3 guests

cron