yueying / OpenMVO

学习rpg_svo 根据代码和论文进行一步步的分析

Home Page:http://www.fengbing.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error LNK2019

ShyJ opened this issue · comments

commented

出现链接错误,不知如何解决
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) 中被引用

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"