linker error with openssl (trying SH1 example)
问题 I'm trying to compile an example of how to implement SHA1 but I keep getting this error: [Linker Error] Unresolved external '_SHA1' referenced from C:\PROGRAM FILES (X86)\BORLAND\CBUILDER6\PROJECTS\UNIT1.OBJ I downloaded openssl files from their website, I tried both copying the headers directory to my project directory and copying it to my includes directory, but nothing. here's the example code: #include <string.h> #include <openssl/sha.h> #include <stdio.h> int main(int argc, char* argv[])