Open 91Eric opened 6 years ago
Me two, I also have this problem. OS: windows 10 VS2019 success in FaceDetection and FaceAlignment, by failed in FaceIdentification. The Error message: 错误 LNK2019 无法解析的外部符号 "declspec(dllimport) public: cdecl seeta::FaceIdentification::FaceIdentification(char const )" (_imp??0FaceIdentification@seeta@@QEAA@PEBD@Z),该符号在函数 "int __cdecl testFaceVerification(char const ,char const )" (?testFaceVerification@@YAHPEBD0@Z) 中被引用 ConsoleApplicationTestDemo C:***\source\repos\SeetaFace\ConsoleApplicationTestDemo\ConsoleApplicationTestDemo.obj
I missed the tools/face_identification.cpp. After adding, it worked.
我再使用Identification模块时,出现未解析的外部符号,也就是说链接的时候在lib里面找不到符号,但是我的lib生成过程和安装说明一样,而且程序配置没有问题,因为其他两个lib库完全没问题,不知到原因在哪。谢谢 @Jiaolong
Error 1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall seeta::FaceIdentification::FaceIdentification(char const *)" (__imp_??0FaceIdentification@seeta@@QAE@PBD@Z) referenced in function "int __cdecl test_recognize(void)" (?test_recognize@@YAHXZ) E:\C++\seetafacenew\seetafacenew\Source1.obj seetafacenew