'static_cast': cannot convert from 'double' to 'pcl::visualization::LookUpTableRepresentationPropert
来源:互联网 发布:艾克里里淘宝 编辑:程序博客网 时间:2024/05/22 20:28
在win10上用vs2013编译PCL1.8的时候,编译到visualization模块时,如下语句会报错。
if (!pcl::visualization::getColormapLUT (static_cast<LookUpTableRepresentationProperties>(value), table)) break;
解决方案:
将所有的
static_cast<LookUpTableRepresentationProperties>(value)
修改成
static_cast<LookUpTableRepresentationProperties>(int(value))
2 0
- 'static_cast': cannot convert from 'double' to 'pcl::visualization::LookUpTableRepresentationPropert
- 'static_cast': cannot convert from 'double' to 'pcl::visualization::LookUpTableRepresentationPropert
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CTrunkPage::* )(void)' to 'void (__thiscall CCmdTarget::* )(N
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall MenuToolBar::* )(LPARAM,LRESULT *)' to 'void (__thiscall CCmd
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall MenuToolBar::* )(LPARAM,LRESULT *)' to 'void (__thiscall CCmd
- error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CchatDlg::* )(CPoint)' to 'UI
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: 'static_cast' : cannot convert from 'LRESULT (__thiscall CchatDlg::* )(CPoint)' to 'UI
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440 static_cast:cannot convert from void (_thiscall X::*)(WPARAM,LPARAM)to LRESULT(_thiscall
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESU
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CMainFrame::* )(void)' to 'LRESUL
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to
- error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatDlg::* )(WPARAM,LPARAM)' to
- error C2440: ’static_cast’ : cannot convert from ‘UINT (__thiscall CStaticLink::* )(CPoint)’ to ‘LRE
- error C2440: ‘static_cast’ : cannot convert from ‘UINT (__thiscall CMenuBar::* )(CPoint)’ to ‘LRESUL
- 背包问题
- java笔记-递归
- 【框架】侧滑菜单按钮 之SlidingMenu-master框架
- HDU 1506 Largest Rectangle in a Histogram by Assassin
- Java内部类总结
- 'static_cast': cannot convert from 'double' to 'pcl::visualization::LookUpTableRepresentationPropert
- 深入理解Java的接口和抽象类-转载于海子额
- 《数据结构导论》之树
- Android事件分发机制完全解析,带你从源码的角度彻底理解(上)
- 外星人入侵问题(黑白帽子报颜色)
- 聊聊 Linux 中的五种 IO 模型
- web.xml中load-on-startup的作用
- 选择器详解(1) javascript对象选取详解
- bzoj 3786: 星系探索(splay+dfs序)