求大神帮帮忙啊~挺急的~一个基于【vtk】的程序
现在项目需要做三维重建,在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