Skip to content
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

some error in visual stdio building #33

Open
hurricanemad opened this issue Jan 9, 2016 · 0 comments
Open

some error in visual stdio building #33

hurricanemad opened this issue Jan 9, 2016 · 0 comments

Comments

@hurricanemad
Copy link

Hi, uricamic. I try to build the clandmark in vs2012 and vs2013. I've compiled the source code in CMake and added the opencv path. However, when I build the clandmark, there is the only .dll file. Then, I add the .def file and get the lib. But some error appear, there is the error:
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlNode::~XmlNode(void)" (??1XmlNode@clandmark@@QAE@XZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: class clandmark::XmlNode __thiscall clandmark::XmlNode::operator[](char const *)" (??AXmlNode@clandmark@@QAE?AV01@PBD@Z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "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) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: unsigned char * __thiscall clandmark::XmlNode::readRaw(int *)" (?readRaw@XmlNode@clandmark@@QAEPAEPAH@Z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlNode::operator int(void)" (??BXmlNode@clandmark@@QAEHXZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlNode::operator double(void)" (??BXmlNode@clandmark@@QAENXZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlNode::operator class std::basic_string<char,struct std::char_traits,class std::allocator >(void)" (??BXmlNode@clandmark@@QAE?AV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@xz) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlStorage::XmlStorage(class std::basic_string<char,struct std::char_traits,class std::allocator >,enum clandmark::FILE_TYPE)" (??0XmlStorage@clandmark@@QAE@V?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@W4FILE_TYPE@1@@z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::XmlStorage::~XmlStorage(void)" (??1XmlStorage@clandmark@@QAE@XZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: class clandmark::XmlNode __thiscall clandmark::XmlStorage::operator[](char const *)" (??AXmlStorage@clandmark@@QAE?AVXmlNode@1@PBD@Z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CLandmark::CLandmark(int,int,int,int,double,double)" (??0CLandmark@clandmark@@QAE@HHHHNN@Z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(int,int,int,int,double,double)" (??0Flandmark@clandmark@@QAE@HHHHNN@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CLandmark::CLandmark(void)" (??0CLandmark@clandmark@@QAE@XZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: void __thiscall clandmark::CLandmark::init(int,int,int,int,double,double)" (?init@CLandmark@clandmark@@QAEXHHHHNN@Z) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(char const *,bool)" (??0Flandmark@clandmark@@QAE@PBD_N@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CLandmark::~CLandmark(void)" (??1CLandmark@clandmark@@UAE@XZ) referenced in function __catch$?getInstanceOf@Flandmark@clandmark@@SAPAV12@PBD_N@Z$0
3>Flandmark.obj : error LNK2019: unresolved external symbol "public: void __thiscall clandmark::CLandmark::computeWdimension(void)" (?computeWdimension@CLandmark@clandmark@@QAEXXZ) referenced in function "public: __thiscall clandmark::Flandmark::Flandmark(int,int,int,int,double,double)" (??0Flandmark@clandmark@@QAE@HHHHNN@Z)
3>Flandmark.obj : error LNK2019: unresolved external symbol "protected: void __thiscall clandmark::CLandmark::setGroundTruth(double *)" (?setGroundTruth@CLandmark@clandmark@@IAEXPAN@Z) referenced in function __catch$?getInstanceOf@Flandmark@clandmark@@SAPAV12@PBD_N@Z$0
3>Flandmark.obj : error LNK2019: unresolved external symbol "protected: void __thiscall clandmark::CLandmark::getNormalizedFrame(struct cimg_library::CImg *,int *)" (?getNormalizedFrame@CLandmark@clandmark@@IAEXPAU?$CImg@E@cimg_library@@pah@Z) referenced in function __catch$?getInstanceOf@Flandmark@clandmark@@SAPAV12@PBD_N@Z$0
3>CSparseLBPFeatures.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CFeatures::CFeatures(int,int,int,int *)" (??0CFeatures@clandmark@@QAE@HHHPAH@Z) referenced in function "public: __thiscall clandmark::CSparseLBPFeatures::CSparseLBPFeatures(int,int,int,int *)" (??0CSparseLBPFeatures@clandmark@@QAE@HHHPAH@Z)
3>CSparseLBPFeatures.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CFeatures::~CFeatures(void)" (??1CFeatures@clandmark@@UAE@XZ) referenced in function "public: virtual __thiscall clandmark::CSparseLBPFeatures::~CSparseLBPFeatures(void)" (??1CSparseLBPFeatures@clandmark@@UAE@XZ)
3>CSparseLBPAppearanceModel.obj : error LNK2019: unresolved external symbol "public: void __thiscall clandmark::XmlStorage::writeRaw(void const *,int)" (?writeRaw@XmlStorage@clandmark@@QAEXPBXH@Z) referenced in function "public: virtual void __thiscall clandmark::CSparseLBPAppearanceModel::write(class clandmark::XmlStorage &,double * const,bool)const " (?write@CSparseLBPAppearanceModel@clandmark@@UBEXAAVXmlStorage@2@QAN_N@Z)
3>CDisplacementDeformationCost.obj : error LNK2001: unresolved external symbol "public: void __thiscall clandmark::XmlStorage::writeRaw(void const *,int)" (?writeRaw@XmlStorage@clandmark@@QAEXPBXH@Z)
3>CSparseLBPAppearanceModel.obj : error LNK2019: unresolved external symbol "class clandmark::XmlStorage & __cdecl clandmark::operator<<(class clandmark::XmlStorage &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (??6clandmark@@YAAAVXmlStorage@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) referenced in function "public: virtual void __thiscall clandmark::CSparseLBPAppearanceModel::write(class clandmark::XmlStorage &,double * const,bool)const " (?write@CSparseLBPAppearanceModel@clandmark@@UBEXAAVXmlStorage@2@QAN_N@Z)
3>CDisplacementDeformationCost.obj : error LNK2001: unresolved external symbol "class clandmark::XmlStorage & __cdecl clandmark::operator<<(class clandmark::XmlStorage &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (??6clandmark@@YAAAVXmlStorage@0@AAV10@ABV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z)
3>CSparseLBPAppearanceModel.obj : error LNK2019: unresolved external symbol "class clandmark::XmlStorage & __cdecl clandmark::operator<<(class clandmark::XmlStorage &,int const &)" (??6clandmark@@YAAAVXmlStorage@0@AAV10@ABH@Z) referenced in function "public: virtual void __thiscall clandmark::CSparseLBPAppearanceModel::write(class clandmark::XmlStorage &,double * const,bool)const " (?write@CSparseLBPAppearanceModel@clandmark@@UBEXAAVXmlStorage@2@QAN_N@Z)
3>CDisplacementDeformationCost.obj : error LNK2001: unresolved external symbol "class clandmark::XmlStorage & __cdecl clandmark::operator<<(class clandmark::XmlStorage &,int const &)" (??6clandmark@@YAAAVXmlStorage@0@AAV10@ABH@Z)
3>CSparseLBPAppearanceModel.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CAppearanceModel::CAppearanceModel(int,int,int,int,int,int,int,class clandmark::CLoss *)" (??0CAppearanceModel@clandmark@@QAE@HHHHHHHPAVCLoss@1@@z) referenced in function "public: __thiscall clandmark::CSparseLBPAppearanceModel::CSparseLBPAppearanceModel(int,int,int,int,int,int,int,int,class clandmark::CLoss *)" (??0CSparseLBPAppearanceModel@clandmark@@QAE@HHHHHHHHPAVCLoss@1@@z)
3>CSparseLBPAppearanceModel.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CAppearanceModel::~CAppearanceModel(void)" (??1CAppearanceModel@clandmark@@UAE@XZ) referenced in function "public: virtual __thiscall clandmark::CSparseLBPAppearanceModel::~CSparseLBPAppearanceModel(void)" (??1CSparseLBPAppearanceModel@clandmark@@UAE@XZ)
3>CDisplacementDeformationCost.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CDeformationCost::CDeformationCost(class clandmark::CAppearanceModel * const,class clandmark::CAppearanceModel * const,class clandmark::CLoss * const)" (??0CDeformationCost@clandmark@@QAE@QAVCAppearanceModel@1@0QAVCLoss@1@@z) referenced in function "public: __thiscall clandmark::CDisplacementDeformationCost::CDisplacementDeformationCost(class clandmark::CAppearanceModel * const,class clandmark::CAppearanceModel * const,int)" (??0CDisplacementDeformationCost@clandmark@@QAE@QAVCAppearanceModel@1@0H@Z)
3>CDisplacementDeformationCost.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CDeformationCost::~CDeformationCost(void)" (??1CDeformationCost@clandmark@@UAE@XZ) referenced in function "public: virtual __thiscall clandmark::CDisplacementDeformationCost::~CDisplacementDeformationCost(void)" (??1CDisplacementDeformationCost@clandmark@@UAE@XZ)
3>CNormalizedEuclideanLoss.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CLoss::CLoss(int,int)" (??0CLoss@clandmark@@QAE@HH@Z) referenced in function "public: __thiscall clandmark::CNormalizedEuclideanLoss::CNormalizedEuclideanLoss(int,int)" (??0CNormalizedEuclideanLoss@clandmark@@QAE@HH@Z)
3>CTableLoss.obj : error LNK2001: unresolved external symbol "public: __thiscall clandmark::CLoss::CLoss(int,int)" (??0CLoss@clandmark@@QAE@HH@Z)
3>CZeroLoss.obj : error LNK2001: unresolved external symbol "public: __thiscall clandmark::CLoss::CLoss(int,int)" (??0CLoss@clandmark@@QAE@HH@Z)
3>CNormalizedEuclideanLoss.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CLoss::~CLoss(void)" (??1CLoss@clandmark@@UAE@XZ) referenced in function "public: virtual __thiscall clandmark::CNormalizedEuclideanLoss::~CNormalizedEuclideanLoss(void)" (??1CNormalizedEuclideanLoss@clandmark@@UAE@XZ)
3>CTableLoss.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall clandmark::CLoss::~CLoss(void)" (??1CLoss@clandmark@@UAE@XZ)
3>CZeroLoss.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall clandmark::CLoss::~CLoss(void)" (??1CLoss@clandmark@@UAE@XZ)
3>CTreeMaxSumSolver.obj : error LNK2019: unresolved external symbol "public: __thiscall clandmark::CMaxSumSolver::CMaxSumSolver(class std::vector<class clandmark::Vertex,class std::allocator > * const,class std::vector<class clandmark::CDeformationCost *,class std::allocator<class clandmark::CDeformationCost *> > * const,int,int)" (??0CMaxSumSolver@clandmark@@QAE@QAV?$vector@VVertex@clandmark@@v?$allocator@VVertex@clandmark@@@std@@@std@@qav?$vector@PAVCDeformationCost@clandmark@@v?$allocator@PAVCDeformationCost@clandmark@@@std@@@3@HH@Z) referenced in function "public: __thiscall clandmark::CTreeMaxSumSolver::CTreeMaxSumSolver(class std::vector<class clandmark::Vertex,class std::allocator > * const,class std::vector<class clandmark::CDeformationCost *,class std::allocator<class clandmark::CDeformationCost *> > * const,int,int)" (??0CTreeMaxSumSolver@clandmark@@QAE@QAV?$vector@VVertex@clandmark@@v?$allocator@VVertex@clandmark@@@std@@@std@@qav?$vector@PAVCDeformationCost@clandmark@@v?$allocator@PAVCDeformationCost@clandmark@@@std@@@3@HH@Z)
3>CTreeMaxSumSolver.obj : error LNK2019: unresolved external symbol "public: virtual __thiscall clandmark::CMaxSumSolver::~CMaxSumSolver(void)" (??1CMaxSumSolver@clandmark@@UAE@XZ) referenced in function "public: virtual __thiscall clandmark::CTreeMaxSumSolver::~CTreeMaxSumSolver(void)" (??1CTreeMaxSumSolver@clandmark@@UAE@XZ)
3>D:\Program Files\clandmark\myclandmark\libclandmark\Debug\flandmark.dll : fatal error LNK1120: 30 unresolved externals

Can you help me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant