|
发表于 2013-8-21 17:09:01
|
显示全部楼层
您好,我在用您的代码实现的过程中遇到了点问题
pcl_mfc_visualizer.h里类PCLVisualizer下面的几个函数,如:
//! draw to a device context
void
Drawsize(CDC* pDC);
void
Onsize(int cx, int cy);
BOOL
SetWindowPos(CWnd* pcWndset,int x,int y,int cx,int cy,UINT nFlags);
void
GetClientRect(LPRECT lpRedt);
void
ComputeBounds(double allBounds[6]);
我只找到他们的申明,问一下他们的定义在哪里呢?
编译报错如下:
error LNK2019: 无法解析的外部符号 "public: void __thiscall pcl::mfc_visualization::PCLVisualizer::GetClientRect(struct tagRECT *)" (?GetClientRect@PCLVisualizer@mfc_visualization@pcl@@QAEXPAUtagRECT@@@Z),该符号在函数 "protected: virtual int __thiscall CtestDlg::OnInitDialog(void)" (?OnInitDialog@CtestDlg@@MAEHXZ) 中被引用
等等……
好像您给的代码里也没有额外的.lib或.dll提供呢
|
|