yueying / OpenMVO

学习rpg_svo 根据代码和论文进行一步步的分析
http://www.fengbing.net
54 stars 38 forks source link

error LNK2019 #1

Open ShyJ opened 7 years ago

ShyJ commented 7 years ago

出现链接错误,不知如何解决 openmvo_mvo.lib(depth_filter.obj) : error LNK2019: 无法解析的外部符号 "public: bool __cdecl mvo::Matcher::findEpipolarMatchDirect(class mvo::Frame const &,class mvo::Frame const &,struct mvo::Feature const &,double,double,double,double &)" (?findEpipolarMatchDirect@Matcher@mvo@@QEAA_NAEBVFrame@2@0AEBUFeature@2@NNNAEAN@Z),该符号在函数 "protected: void __cdecl mvo::DepthFilter::updateSeeds(class std::shared_ptr)" (?updateSeeds@DepthFilter@mvo@@IEAAXV?$shared_ptr@VFrame@mvo@@@std@@@Z) 中被引用

yueying commented 7 years ago

具体这个你可以参考http://blog.csdn.net/zhoxier/article/details/8619688,问题一般就在这几个层面

magic428 commented 5 years ago

Reason:
mvo::Matcher::findEpipolarMatchDirect() and mvo::DepthFilter::updateSeeds() cannot get the ACCTUAL class Frame defination.

Solution:
add a line in "matcher.h":

   #include "openmvo/mvo/frame.h"