求大神帮帮忙啊~挺急的~一个基于【vtk】的程序

qq_24836423 2014-12-26 02:08:00
现在项目需要做三维重建,在github上下载了一个基于vtk的 powercrust 数据点云三维重建程序。我本来就是菜菜菜鸟一枚,好不容易配置好了vtk,程序编译也通过了,链接的时候出现了“无法识别的外部符号” ,完全不知道该怎么办啊。。。

1> 正在创建库 C:\Users\moxi\Desktop\project\vtk\VTKbin\Debug\test_1.lib 和对象 C:\Users\moxi\Desktop\project\vtk\VTKbin\Debug\test_1.exp
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "private: virtual char const * __thiscall vtkPowerCrustSurfaceReconstruction::GetClassNameInternal(void)const " (?GetClassNameInternal@vtkPowerCrustSurfaceReconstruction@@EBEPBDXZ)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall vtkPowerCrustSurfaceReconstruction::GetEstimateR(void)" (?GetEstimateR@vtkPowerCrustSurfaceReconstruction@@UAENXZ)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "public: virtual class vtkPolyData * __thiscall vtkPowerCrustSurfaceReconstruction::GetMedialSurface(void)" (?GetMedialSurface@vtkPowerCrustSurfaceReconstruction@@UAEPAVvtkPolyData@@XZ)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "public: virtual double __thiscall vtkPowerCrustSurfaceReconstruction::GetMultlUp(void)" (?GetMultlUp@vtkPowerCrustSurfaceReconstruction@@UAENXZ)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "public: virtual int __thiscall vtkPowerCrustSurfaceReconstruction::IsA(char const *)" (?IsA@vtkPowerCrustSurfaceReconstruction@@UAEHPBD@Z)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "protected: virtual class vtkObjectBase * __thiscall vtkPowerCrustSurfaceReconstruction::NewInstanceInternal(void)const " (?NewInstanceInternal@vtkPowerCrustSurfaceReconstruction@@MBEPAVvtkObjectBase@@XZ)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2001: 无法解析的外部符号 "public: virtual void __thiscall vtkPowerCrustSurfaceReconstruction::SetEstimateR(double)" (?SetEstimateR@vtkPowerCrustSurfaceReconstruction@@UAEXN@Z)
1>vtkPowerCrustSurfaceReconstruction.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) const vtkPowerCrustSurfaceReconstruction::`vftable'" (__imp_??_7vtkPowerCrustSurfaceReconstruction@@6B@),该符号在函数 "protected: __thiscall vtkPowerCrustSurfaceReconstruction::vtkPowerCrustSurfaceReconstruction(void)" (??0vtkPowerCrustSurfaceReconstruction@@IAE@XZ) 中被引用
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: 无法解析的外部符号 _main,该符号在函数 ___tmainCRTStartup 中被引用
1>C:\Users\moxi\Desktop\project\vtk\VTKbin\Debug\test_1.exe : fatal error LNK1120: 9 个无法解析的外部命令

还有一个问题,这个程序是做三维重建的,在他的例子里源数据是.ply 文件,是怎么读入的?我需要将源数据文件放在哪个路径下?
请问有大神熟悉 vtk 或者运行过这个程序的么?求指点~~~~~万分感谢~~~~~

(代码实在很长,就不在这里贴了。。)我在这里下载的:https://github.com/timhutton/vtkpowercrust
...全文
331 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
digestlily 2016-10-15
  • 打赏
  • 举报
回复
楼主好 你的问题解决了吗 我想知道vtk的powercurst算法下三维空间点的重建结果是vtkunstructure还是vtkPolyData类型的呢
qq_24836423 2014-12-27
  • 打赏
  • 举报
回复
谢谢回复~~~附加库和附加依赖库之前就已经添加了,之后才出现这些错误的。是因为我少添加了库? 如果是少了库的话,它报错不应该是无法打开***.lib么?
赵4老师 2014-12-26
  • 打赏
  • 举报
回复
项目、属性、链接器、常规、附加库目录:填写附加依赖库所在目录 分号间隔多项 项目、属性、链接器、输入、附加依赖项:填写附加依赖库的名字.lib 空格或分号间隔多项

24,855

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧