mercredi 3 juin 2015

Advapi32.lib missing from Visual Studio 2013 Community Edition

My code compiles and links just fine on PC #1 using VS 2013 Pro. It fails linking on PC #2 using VS 2013 Community Edition. The failure is three unresolved externals from Advapi32.lib -- CryptAcquireContextW, CryptReleaseContext, and CryptGenRandom.

This leads to several key questions:

  1. Why doesn't VS 2013 warn you when it can't find a library that's on the linker input line?
  2. Why is Advapi32.lib unavailable in the Community Edition?
  3. What can one do to fix this problem?

Thanks.

Aucun commentaire:

Enregistrer un commentaire