You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2024. It is now read-only.
I'm getting very odd compilation failures:
Severity Code Description Project File Line Suppression State
Error LNK2019 unresolved external symbol "struct model_struct * __cdecl flandmark_init(char const *)" (?flandmark_init@@YAPAUmodel_struct@@pbd@Z) referenced in function "struct ht_context * __stdcall ht_make_context(struct ht_config const *,char const *)" (?ht_make_context@@YGPAUht_context@@PBUht_config@@pbd@Z)
Error LNK2019 unresolved external symbol "void __cdecl flandmark_free(struct model_struct *)" (?flandmark_free@@YAXPAUmodel_struct@@@z) referenced in function "void __stdcall ht_free_context(struct ht_context *)" (?ht_free_context@@YGXPAUht_context@@@z)
Error LNK2019 unresolved external symbol "int __cdecl flandmark_detect(struct _IplImage *,int *,struct model_struct *,double *,int *)" (?flandmark_detect@@YAHPAU_IplImage@@PAHPAUmodel_struct@@pan1@Z) referenced in function "bool cdecl ht_fl_estimate(struct ht_context &,class cv::Mat &,class cv::Rect,class cv::Mat &,class cv::Mat &)" (?ht_fl_estimate@@YA_NAAUht_context@@AAVMat@cv@@v?$Rect@h@3@11@Z)
I'm thinking its a missing flandmark_model.cpp file. Should that be included in the project? ref:https://github.com/uricamic/flandmark
Note: I'm using Microsoft Visual Studio. Perhaps I've used CMake incorrrectly? Should the Flandmark libraries be compiled in my openCV tools?
ref: http://stackoverflow.com/questions/17735244/cant-get-flandmarks-to-work-c-error-lnk2019-unresolved-external-symbol
Many thanks.
The text was updated successfully, but these errors were encountered: