-
Notifications
You must be signed in to change notification settings - Fork 48
Description
hi. It succeeded in installing and succeeded in obtaining lib and include files. However, when I try to use lib in a new project file, the following error appears. plz help me
Error LNK1120 7 unresolved externals Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Debug\Project1.exe 1
Error LNK2019 unresolved external symbol _EVP_MD_size referenced in function "public: __thiscall HMACValidator::HMACValidator(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,struct evp_md_st const *,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (??0HMACValidator@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@PBUevp_md_st@@0@Z) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1
Error LNK2019 unresolved external symbol _EVP_sha256 referenced in function "public: __thiscall HS256Validator::HS256Validator(class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (??0HS256Validator@@QAE@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\main.obj 1
Error LNK2019 unresolved external symbol _HMAC_CTX_free referenced in function "public: __thiscall HMacCtx::~HMacCtx(void)" (??1HMacCtx@@QAE@XZ) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1
Error LNK2019 unresolved external symbol _HMAC_CTX_new referenced in function "public: __thiscall HMacCtx::HMacCtx(void)" (??0HMacCtx@@QAE@XZ) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1
Error LNK2019 unresolved external symbol _HMAC_Final referenced in function "public: virtual bool __thiscall HMACValidator::Sign(unsigned char const *,unsigned int,unsigned char *,unsigned int *)const " (?Sign@HMACValidator@@UBE_NPBEIPAEPAI@Z) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1
Error LNK2019 unresolved external symbol _HMAC_Init_ex referenced in function "public: virtual bool __thiscall HMACValidator::Sign(unsigned char const *,unsigned int,unsigned char *,unsigned int *)const " (?Sign@HMACValidator@@UBE_NPBEIPAEPAI@Z) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1
Error LNK2019 unresolved external symbol _HMAC_Update referenced in function "public: virtual bool __thiscall HMACValidator::Sign(unsigned char const *,unsigned int,unsigned char *,unsigned int *)const " (?Sign@HMACValidator@@UBE_NPBEIPAEPAI@Z) Project1 C:\Users\adydado\Desktop\Testbuild\Project1\Project1\jwtd.lib(hmacvalidator.obj) 1