Zhe-LIU-Imagine / KVLD

KVLD open source library implements Virtual Line Descriptor and Semi-Local Matching Method for Reliable Feature Correspondence in BMVC 2012
BSD 2-Clause "Simplified" License
46 stars 21 forks source link

您好,我会有以下问题,请问一下应该是什么么原因呢 #4

Open Elenaono opened 5 years ago

Elenaono commented 5 years ago

错误 12 error LNK2019: 无法解析的外部符号 "float __cdecl KVLD(class Image const &,class Image const &,class std::vector<struct keypoint,class std::allocator > &,class std::vector<struct keypoint,class std::allocator > &,class std::vector<struct std::pair<unsigned int,unsigned int>,class std::allocator<struct std::pair<unsigned int,unsigned int> > > const &,class std::vector<struct std::pair<unsigned int,unsigned int>,class std::allocator<struct std::pair<unsigned int,unsigned int> > > &,class std::vector<double,class std::allocator > &,class libNumerics::matrix &,class std::vector<bool,class std::allocator > &,struct KvldParameters &)" (?KVLD@@YAMABV?$Image@M@@0AAV?$vector@Ukeypoint@@V?$allocator@Ukeypoint@@@std@@@std@@1ABV?$vector@U?$pair@II@std@@V?$allocator@U?$pair@II@std@@@2@@3@AAV43@AAV?$vector@NV?$allocator@N@std@@@3@AAV?$matrix@M@libNumerics@@AAV?$vector@_NV?$allocator@_N@std@@@3@AAUKvldParameters@@@Z),该符号在函数 _main 中被引用

错误 15 error LNK2019: 无法解析的外部符号 "float __cdecl KVLD(class Image const &,class Image const &,class std::vector<struct keypoint,class std::allocator > &,class std::vector<struct keypoint,class std::allocator > &,class std::vector<struct std::pair<unsigned int,unsigned int>,class std::allocator<struct std::pair<unsigned int,unsigned int> > > const &,class std::vector<struct std::pair<unsigned int,unsigned int>,class std::allocator<struct std::pair<unsigned int,unsigned int> > > &,class std::vector<double,class std::allocator > &,class libNumerics::matrix &,class std::vector<bool,class std::allocator > &,struct KvldParameters &)" (?KVLD@@YAMABV?$Image@M@@0AAV?$vector@Ukeypoint@@V?$allocator@Ukeypoint@@@std@@@std@@1ABV?$vector@U?$pair@II@std@@V?$allocator@U?$pair@II@std@@@2@@3@AAV43@AAV?$vector@NV?$allocator@N@std@@@3@AAV?$matrix@M@libNumerics@@AAV?$vector@_NV?$allocator@_N@std@@@3@AAUKvldParameters@@@Z),该符号在函数 _main 中被引用

pmoulon commented 5 years ago

Please, can you provide some context about your compiler and platform?

Elenaono commented 5 years ago

Thank you for your reply.I use it on VS2012,But there are still problems.I will try OpenMVG.Thankyou

Zhe-LIU-Imagine commented 5 years ago

I will also make a lite version, which may solve the problem.