Vid2Curve编译

安装的pangolin版本是Pangolin 0.2 是视觉slam十四讲中提供的

报错1:

/home/ckq/Projects/vid2curve0/src/Utils/GlobalDataPool.cpp:89:17: error: ‘glDrawFrustum’ is not a member of ‘pangolin’; did you mean ‘glDrawFrustrum’?
   89 |       pangolin::glDrawFrustum(K_invs_[i], width_and_heights_[i].first, width_and_heights_[i].second, current_frame, 0.05);


/home/ckq/Projects/vid2curve0/src/Utils/GlobalDataPool.cpp中的

 pangolin::glDrawFrustrum(K_invs_[i], width_and_heights_[i].first, width_and_heights_[i].second, current_frame, 0.05);

改为:

 pangolin::glDrawFrustum(K_invs_[i], width_and_heights_[i].first, width_and_heights_[i].second, current_frame, 0.05);

报错2:

/home/ckq/Projects/vid2curve0/src/DisplayMain.cpp: In function ‘int main(int, char**)’:
/home/ckq/Projects/vid2curve0/src/DisplayMain.cpp:70:41: error: too many arguments to function ‘void pangolin::RenderVbo(pangolin::GlBuffer&)’
70 | pangolin::RenderVbo(glxyz, GL_POINTS);

暂时还未解决 应该是pangolin的版本问题!!!
编译的时候 没有把pangolin编译进来 就可以安装通过!!!

报错3:

/home/ckq/Projects/vid2curve0/src/DisplayMain.cpp:80:13: error: ‘QuitAll’ is not a member of ‘pangolin’; did you mean ‘Quit’?
80 | pangolin::QuitAll();


/home/ckq/Projects/vid2curve0/src/DisplayMain.cpp’中的

pangolin::QuitAll();

改为:

pangolin::Quit();
  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值