Step 7 of the instructions you linked to here appear to be strange. Normally you'd select /MD
and /MDd
for Release and Debug respectively, or you'd select /MT
and /MTd
.
The crux is that you have your Release build of crypto linked to the Dynamic version of the C Runtime Library (via /MD
), but your test exe is set to link to the Static version (via /MT
).
You should only link to a single version of the CRT - i.e. recompile crypto++ in Release mode with /MT
set instead of /MD
, or change your test exe to use /MD
.
For further info on these flags, see the msdn docs.