> I downloaded the latest .zip and built the libraries using VS2017 for 
> release/debug under X86 and X64. I modified the configurations to use the 
> Unicode character set and got a successful build of all components using 
> the batch build dialog.
>
>  
>
> I’m now getting the following linkage errors in my application – I’ve 
> checked that my library paths are set correctly and that I specify the .lib 
> file in the project’s linker input options. Can anybody advise, please?
>
>  
>
> 1>cryptlib.lib(hrtimer.obj) : error LNK2001: unresolved external symbol 
> __calloc_dbg
>
> 1>cryptlib.lib(osrng.obj) : error LNK2001: unresolved external symbol 
> __calloc_dbg
>
> 1>cryptlib.lib(des.obj) : error LNK2001: unresolved external symbol 
> __calloc_dbg
>

It sounds like you are using a Debug version of Crypto++ with a Release 
version of your program. Or maybe you are mixing/matching static and 
dynamic versions of the C++ runtime.

Related, you might find it easier to cryptest.nmake to build the library. 
Open a developer prompt, cd to the cryptopp dir, and then 'nmake /f 
cryptest.nmake'. Open the nmake file and change CXXFLAGS to suit your 
tastes. Its that easy.

Finally, you should use Master rather than 5.6.5 ZIP. Master is stable, and 
it includes several bug fixes since the last ZIP release. Two of the bug 
fixes have CVE's but they are very low quality and low risk CVEs.

Jeff

-- 
-- 
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to cryptopp-users-unsubscr...@googlegroups.com.
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
--- 
You received this message because you are subscribed to the Google Groups 
"Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cryptopp-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to