Closed AnaZou closed 8 years ago
Hi, could you please post the full error log. The error you got means that dest itself didn't build, so dest_align cannot link it.
The follows is the full error log.
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "void cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPEAX@Z),该符号在函数 "public: cdecl cv::Mat::~Mat(void)" (??1Mat@cv@@QEAA@XZ) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "void cdecl cv::fastFree(void )" (?fastFree@cv@@YAXPEAX@Z)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl cv::fastFree(void )" (?fastFree@cv@@YAXPEAX@Z)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "private: char * cdecl cv::String::allocate(unsigned int64)" (?allocate@String@cv@@AEAAPEAD_K@Z),该符号在函数 "public: cdecl cv::String::String(class std::basic_string<char,struct std::char_traits
I have solved the problem, i have misunderstand your instructions.Thanks for help
Great that you got it working. What confused you, anything I can adapt to avoid misunderstandings?
Any other dependencies? Yes, those are inline included and are header only。I misunderstood this,i just set the include header without set the lib link in the vs2013。According to the error list before,it just mean that i haven't link the lib error. I heve train the shape_predictor on the helen dataset with 194 landmarks,but when i test the model,it shows bad result compare to dlib provided shape_predictor.I have try to adjust the param,but the model still perform bad,have u ever meet this problem?
Consider this closed. Please re-open one for quality issue if it persists.
Hello,i have download your src code,and i follow your inductions。First,use cmake to build;After that i build it on vs2013,but i have come a problem with dest_align。It show the LNK2001 with dest.lib,how can i solve the problem