Comments (6)
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.
from dest.
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,class std::allocator > const &)" (??0String@cv@@qeaa@AEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "private: char * __cdecl cv::String::allocate(unsigned __int64)" (?allocate@String@cv@@AEAAPEAD_K@Z)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "private: char * __cdecl cv::String::allocate(unsigned __int64)" (?allocate@String@cv@@AEAAPEAD_K@Z)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "private: void __cdecl cv::String::deallocate(void)" (?deallocate@String@cv@@AEAAXXZ),该符号在函数 "public: __cdecl cv::String::~String(void)" (??1String@cv@@qeaa@XZ) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "private: void __cdecl cv::String::deallocate(void)" (?deallocate@String@cv@@AEAAXXZ)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "private: void __cdecl cv::String::deallocate(void)" (?deallocate@String@cv@@AEAAXXZ)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::error(int,class cv::String const &,char const *,char const *,int)" (?error@cv@@YAXHAEBVString@1@PEBD1H@Z),该符号在函数 "public: unsigned char * __cdecl cv::Mat::ptr(int)" (??$ptr@E@Mat@cv@@QEAAPEAEH@Z) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl cv::error(int,class cv::String const &,char const *,char const *,int)" (?error@cv@@YAXHAEBVString@1@PEBD1H@Z)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl cv::error(int,class cv::String const &,char const *,char const *,int)" (?error@cv@@YAXHAEBVString@1@PEBD1H@Z)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QEAAXXZ),该符号在函数 "public: void __cdecl cv::Mat::release(void)" (?release@Mat@cv@@QEAAXXZ) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "public: void __cdecl cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QEAAXXZ)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "public: void __cdecl cv::Mat::deallocate(void)" (?deallocate@Mat@cv@@QEAAXXZ)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "public: void __cdecl cv::Mat::copySize(class cv::Mat const &)" (?copySize@Mat@cv@@QEAAXAEBV12@@z),该符号在函数 "public: class cv::Mat & __cdecl cv::Mat::operator=(class cv::Mat const &)" (??4Mat@cv@@QEAAAEAV01@AEBV01@@z) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "public: void __cdecl cv::Mat::copySize(class cv::Mat const &)" (?copySize@Mat@cv@@QEAAXAEBV12@@z)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "public: void __cdecl cv::Mat::copySize(class cv::Mat const &)" (?copySize@Mat@cv@@QEAAXAEBV12@@z)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::cvtColor(class cv::_InputArray const &,class cv::_OutputArray const &,int,int)" (?cvtColor@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z),该符号在函数 "void __cdecl dest::util::toDest(class cv::Mat const &,class Eigen::Matrix<unsigned char,-1,-1,1,-1,-1> &)" (?toDest@util@dest@@YAXAEBVMat@cv@@aeav?$Matrix@E$0?0$0?0$00$0?0$0?0@Eigen@@@z) 中被引用
1>dest.lib(draw.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl cv::cvtColor(class cv::_InputArray const &,class cv::_OutputArray const &,int,int)" (?cvtColor@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z)
1>dest.lib(face_detector.obj) : error LNK2001: 无法解析的外部符号 "void __cdecl cv::cvtColor(class cv::_InputArray const &,class cv::_OutputArray const &,int,int)" (?cvtColor@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@HH@Z)
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "class cv::Mat __cdecl cv::imread(class cv::String const &,int)" (?imread@cv@@ya?AVMat@1@AEBVString@1@H@Z),该符号在函数 main 中被引用
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "int __cdecl cv::waitKey(int)" (?waitKey@cv@@yahh@Z),该符号在函数 main 中被引用
1>dest_align.obj : error LNK2019: 无法解析的外部符号 "void __cdecl cv::imshow(class cv::String const &,class cv::_InputArray const &)" (?imshow@cv@@YAXAEBVString@1@AEBV_InputArray@1@@z),该符号在函数 main 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "class cv::_InputOutputArray const & __cdecl cv::noArray(void)" (?noArray@cv@@YAAEBV_InputOutputArray@1@XZ),该符号在函数 "void __cdecl dest::util::drawShape(class cv::Mat &,class Eigen::Matrix<float,2,-1,0,2,-1> const &,int)" (?drawShape@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$0?0$0A@$01$0?0@Eigen@@h@Z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "public: void __cdecl cv::Mat::create(int,int const *,int)" (?create@Mat@cv@@QEAAXHPEBHH@Z),该符号在函数 "public: void __cdecl cv::Mat::create(int,int,int)" (?create@Mat@cv@@QEAAXHHH@Z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::normalize(class cv::_InputArray const &,class cv::_InputOutputArray const &,double,double,int,int,class cv::_InputArray const &)" (?normalize@cv@@YAXAEBV_InputArray@1@AEBV_InputOutputArray@1@NNHH0@Z),该符号在函数 "void __cdecl dest::util::drawShape(class cv::Mat &,class Eigen::Matrix<float,2,-1,0,2,-1> const &,int)" (?drawShape@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$0?0$0A@$01$0?0@Eigen@@h@Z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::applyColorMap(class cv::InputArray const &,class cv::OutputArray const &,int)" (?applyColorMap@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@H@Z),该符号在函数 "void cdecl dest::util::drawShape(class cv::Mat &,class Eigen::Matrix<float,2,-1,0,2,-1> const &,int)" (?drawShape@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$0?0$0A@$01$0?0@Eigen@@h@Z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::line(class cv::InputOutputArray const &,class cv::Point,class cv::Point,class cv::Scalar const &,int,int,int)" (?line@cv@@YAXAEBV_InputOutputArray@1@V?$Point@H@1@1AEBV?$Scalar@N@1@HHH@Z),该符号在函数 "void cdecl dest::util::drawRect(class cv::Mat &,class Eigen::Matrix<float,2,4,2,2,4> const &,class cv::Scalar const &)" (?drawRect@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$03$01$01$03@Eigen@@aebv?$Scalar@n@4@@z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::circle(class cv::InputOutputArray const &,class cv::Point,int,class cv::Scalar const &,int,int,int)" (?circle@cv@@YAXAEBV_InputOutputArray@1@V?$Point@h@1@HAEBV?$Scalar@N@1@HHH@Z),该符号在函数 "void cdecl dest::util::drawShape(class cv::Mat &,class Eigen::Matrix<float,2,-1,0,2,-1> const &,class cv::Scalar const &)" (?drawShape@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$0?0$0A@$01$0?0@Eigen@@aebv?$Scalar@n@4@@z) 中被引用
1>dest.lib(draw.obj) : error LNK2019: 无法解析的外部符号 "void cdecl cv::putText(class cv::InputOutputArray const &,class cv::String const &,class cv::Point,int,double,class cv::Scalar,int,int,bool)" (?putText@cv@@YAXAEBV_InputOutputArray@1@AEBVString@1@V?$Point@h@1@HNV?$Scalar@N@1@HH_N@Z),该符号在函数 "void cdecl dest::util::drawShapeText(class cv::Mat &,class Eigen::Matrix<float,2,-1,0,2,-1> const &,class cv::Scalar const &)" (?drawShapeText@util@dest@@YAXAEAVMat@cv@@aebv?$Matrix@M$01$0?0$0A@$01$0?0@Eigen@@aebv?$Scalar@n@4@@z) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: cdecl cv::Mat::Mat(class cv::Mat const &,class cv::Rect const &)" (??0Mat@cv@@qeaa@AEBV01@AEBV?$Rect@h@1@@z),该符号在函数 "public: class cv::Mat cdecl cv::Mat::operator()(class cv::Rect const &)const " (??RMat@cv@@qeba?AV01@AEBV?$Rect@h@1@@z) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: void _cdecl cv::Mat::copyTo(class cv::OutputArray const &)const " (?copyTo@Mat@cv@@QEBAXAEBV_OutputArray@2@@z),该符号在函数 "public: bool cdecl dest::face::FaceDetector::detectFaces(class cv::Mat const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect > > &)const " (?detectFaces@FaceDetector@face@dest@@QEBA_NAEBVMat@cv@@aeav?$vector@V?$Rect@h@cv@@v?$allocator@V?$Rect@h@cv@@@std@@@std@@@z) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "void __cdecl cv::equalizeHist(class cv::InputArray const &,class cv::OutputArray const &)" (?equalizeHist@cv@@YAXAEBV_InputArray@1@AEBV_OutputArray@1@@z),该符号在函数 "public: bool cdecl dest::face::FaceDetector::detectFaces(class cv::Mat const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect > > &)const " (?detectFaces@FaceDetector@face@dest@@QEBA_NAEBVMat@cv@@aeav?$vector@V?$Rect@h@cv@@v?$allocator@V?$Rect@h@cv@@@std@@@std@@@z) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: __cdecl cv::CascadeClassifier::CascadeClassifier(void)" (??0CascadeClassifier@cv@@qeaa@XZ),该符号在函数 "public: __cdecl dest::face::FaceDetector::data::data(void)" (??0data@FaceDetector@face@dest@@qeaa@XZ) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: cdecl cv::CascadeClassifier::~CascadeClassifier(void)" (??1CascadeClassifier@cv@@qeaa@XZ),该符号在函数 "int public: __cdecl dest::face::FaceDetector::data::data(void)'::
1'::dtor$0" (?dtor$0@?0???0data@FaceDetector@face@dest@@qeaa@XZ@4HA) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: bool cdecl cv::CascadeClassifier::load(class cv::String const &)" (?load@CascadeClassifier@cv@@QEAA_NAEBVString@2@@z),该符号在函数 "public: bool cdecl dest::face::FaceDetector::loadClassifiers(class std::basic_string<char,struct std::char_traits,class std::allocator > const &,class std::basic_string<char,struct std::char_traits,class std::allocator > const &)" (?loadClassifiers@FaceDetector@face@dest@@QEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@0@Z) 中被引用
1>dest.lib(face_detector.obj) : error LNK2019: 无法解析的外部符号 "public: void cdecl cv::CascadeClassifier::detectMultiScale(class cv::InputArray const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect > > &,double,int,int,class cv::Size,class cv::Size)" (?detectMultiScale@CascadeClassifier@cv@@QEAAXAEBV_InputArray@2@AEAV?$vector@V?$Rect@H@cv@@v?$allocator@V?$Rect@H@cv@@@std@@@std@@nhhv?$Size@H@2@2@Z),该符号在函数 "public: bool cdecl dest::face::FaceDetector::detectFaces(class cv::Mat const &,class std::vector<class cv::Rect,class std::allocator<class cv::Rect > > &)const " (?detectFaces@FaceDetector@face@dest@@QEBA_NAEBVMat@cv@@aeav?$vector@V?$Rect@H@cv@@v?$allocator@V?$Rect@H@cv@@@std@@@std@@@z) 中被引用
1>K:\tools\FaceLandmark\Build\Debug\dest_align.exe : fatal error LNK1120: 24 个无法解析的外部命令
from dest.
I have solved the problem, i have misunderstand your instructions.Thanks for help
from dest.
Great that you got it working. What confused you, anything I can adapt to avoid misunderstandings?
from dest.
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?
from dest.
Consider this closed. Please re-open one for quality issue if it persists.
from dest.
Related Issues (16)
- Compile error when building with Visual Studio 2012 HOT 9
- how about the speed? HOT 1
- Using in iOS app HOT 1
- Build failed in VS2015 HOT 2
- How to use this dest_tracker_VJ_HELEN.bin file? HOT 1
- DEST vs DLIB HOT 1
- dest_evaluate can't work with dest.bin HOT 5
- DEST on android
- How to create rectangle.csv?
- Build Error DST 0.8 HOT 6
- Problem in running the code HOT 5
- when I use ubuntu10.4 ,I meet error HOT 1
- can u use android with your dest HOT 2
- debug fail HOT 2
- What would one use this for ? HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dest.