-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error of flandmark #45
Comments
Hi @junsa, unfortunately I do not have access to any windows computer now. I have never tried with MSVS 2015, however it compiled with 2013 without bigger problems. |
Hello @uricamic, Also, I tried to install for my ubuntu 14.04 LTS. `#include <opencv2/objdetect/objdetect.hpp> #include #include "Flandmark.h" #define SHOW_WINDOWS using namespace std; char modelList[][1024] = { char views[][20] = { const int PHIS = 5; int main(int argc, char *argv[])
}` Below code is my project file in the qtcreator. LIBS += -L/usr/local/lib -lopencv_shape -lopencv_stitching -lopencv_objdetect -lopencv_superres -lopencv_videostab -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_imgcodecs -lopencv_video -lopencv_photo -lopencv_ml -lopencv_imgproc -lopencv_flann -lopencv_core -lopencv_hal` Thank you and sorry I'm not good in English. |
Hi @junsa, you forgot to add -lflandmark -lclandmark to LIBS, as well as the path to the directory where you have them (-L). Then it should work without problems. The other way how to use the library in external project is to use CMake, see #44 for details. The compilation on windows can be tricky sometimes, however on linux and mac it works without troubles. |
Hello @uricamic, I could build!! However, an example code, which is clandmark/examples/static_input.cpp, outputs incorrect results as shown in attached images. Thank you and sorry for many questions. |
Hi @junsa, the However, you can use this example with different models, such as |
Hello @uricamic, I have confirmed CDPM.xml can correctly obtain facial landmarks!! |
Hi @junsa, happy to hear that. |
Hello @uricamic, Thank you for your advice. I'm looking forward to reading your new paper!!! |
Hello.
I'm a japanese univ student and I'd like to use clandmark as a comparative method.
Since I usually use windows 7, I tried to build the clandmark using visual studio express 2015 for windows desktop after cmake.
However, it could not build flandmark and says many "unresolved external symbol" although clandmark is ok.
I describe some error messages below.
"public: __thiscall clandmark::XmlNode::~XmlNode(void)" (??1XmlNode@clandmark@@QAE@XZ) が関数 "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z) で参照されました。
"public: class clandmark::XmlNode __thiscall clandmark::XmlNode::operator[](char const *)" (??AXmlNode@clandmark@@QAE?AV01@PBD@Z) が関数 "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z) で参照されました。
"public: class std::vector<class clandmark::XmlNode,class std::allocator > __thiscall clandmark::XmlNode::getSet(char const *)" (?getSet@XmlNode@clandmark@@QAE?AV?$vector@VXmlNode@clandmark@@v?$allocator@VXmlNode@clandmark@@@std@@@std@@pbd@Z) が関数 "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z) で参照されました。
Could you give me any advice?
The text was updated successfully, but these errors were encountered: