seetaface / SeetaFaceEngine

Other
4.59k stars 1.78k forks source link

使用Identification模块时的问题 #179

Open 91Eric opened 6 years ago

91Eric commented 6 years ago

我再使用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

chenruyi commented 5 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

chenruyi commented 5 years ago

I missed the tools/face_identification.cpp. After adding, it worked.