biometrics / openbr

Open Source Biometrics, Face Recognition
www.openbiometrics.org
Other
2.84k stars 772 forks source link

UniversalTemplate function access #540

Open chunter2 opened 6 years ago

chunter2 commented 6 years ago

I can't seem to be able to call the following functions from the Template structure in openbr_plugin.h when modifying the face_recognition.cpp example program.

static br_utemplate toUniversalTemplate(const Template &t); static Template fromUniversalTemplate(br_const_utemplate ut); static br_utemplate readUniversalTemplate(QFile &file); static void writeUniversalTemplate(QFile &file, br_const_utemplate t); static void freeUniversalTemplate(br_const_utemplate t);

I get error LNK2001: unresolved external symbol "public: static struct br_universal_template * __cdecl br::Template::toUniversalTemplate(struct br::Template const &)"

I'm able to use other functions in the structure but not these. I've compiled openbr for Windows and can run the example programs as is. I'm using Visual Studio 2013.