Why is this not working? (Crypto++)

#include <openssl/sha.h>
#include <string.h>
#include <string>
#include <iostream>

using namespace std;

int main() {

const char *orig = "Original String";
unsigned char hash[20];
SHA1(hash, strlen(orig), hash);

cout<<hash<<endl;
return 0;
}

Errors:

Error 1 error LNK2019: unresolved external symbol _SHA1 referenced in function _main c:\Users\Jeremy\documents\visual studio 2010\Projects\Hash\Hash\main.obj
Looks like you didn't add library files to project link list.
Topic archived. No new replies allowed.