-
compile error
Hey guys when i try and compile a dll i get these error messages it compiles fine in debug mode but not in release mode.
Any ideas cheers
Peter
Creating library ReleaseMinDependency/Software to Sign and Verify Files.lib and object ReleaseMinDependency/Software to Sign and Verify Files.exp
Crypto.obj : error LNK2001: unresolved external symbol __imp__CertOpenSystemStoreA@8
Crypto.obj : error LNK2001: unresolved external symbol __imp__CertEnumCertificatesInStore@8
Crypto.obj : error LNK2001: unresolved external symbol __imp__CertGetCertificateContextProperty@16
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptSignMessage@28
Crypto.obj : error LNK2001: unresolved external symbol __imp__CertFreeCertificateContext@4
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptVerifyDetachedMessageSignature@32
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptGetMessageSignerCount@12
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgClose@4
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgGetParam@20
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgUpdate@16
Crypto.obj : error LNK2001: unresolved external symbol __imp__CryptMsgOpenToDecode@24
Crypto.obj : error LNK2001: unresolved external symbol __imp__CertNameToStrA@20
ReleaseMinDependency/Software to Sign and Verify Files.dll : fatal error LNK1120: 12 unresolved externals
Error executing link.exe.
Software to Sign and Verify Files.dll - 13 error(s), 29 warning(s)
-
did you add an import library to the list? If yes, there's a good chance you only added it for debug build, so you have to add it for release build too.