I have been working with C++ and MSVS for years, and I have spent three hours
trying everything to get SHA256 working in my project, and it's driving me
nuts! I have imported cryptolib.vcxproj into MSVS as a separate project,
and then in my source code I have:
...
#include "sha.h"
...
static void getHash(uint8_t* msg, uint8_t* hashOut)
{
resize(hashOut, 32);
SHA256().CalculateDigest(hashOut, msg, HEADER_SIZE);
}
...
I keep getting the "SHA256: identifier not found". I have tried
*everything*. I have verified if I remove the include statement, it crashes
because it can't find sha.h (so I know it wants it), I have tried all kinds
of settings, dependencies, library extra directories, forward declarations,
etc. I have even tried removing the project entirely and putting all the
Crypto++ source and headers directly into my own project. I *still* get the
same error. I must be doing something very stupid... please tell me someone
has seen this before and has a 1-line answer for me!
--
View this message in context:
http://old.nabble.com/Cannot-compile-in-MSVS-2010-tp32153370p32153370.html
Sent from the Crypto++ Users mailing list archive at Nabble.com.
--
You received this message because you are subscribed to the "Crypto++ Users"
Google Group.
To unsubscribe, send an email to [email protected].
More information about Crypto++ and this group is available at
http://www.cryptopp.com.