vtk连接错误

来源:互联网 发布:心中的秘密知乎 编辑:程序博客网 时间:2024/06/08 17:22


错误:

1>  Creating library .\Release\MedAnalysis.lib and object.\Release\MedAnalysis.exp

1>medanalysisdlg.obj : error LNK2001:unresolved external symbol "public: static classvtkVolumeRayCastCompositeFunction * __cdeclvtkVolumeRayCastCompositeFunction::New(void)"(?New@vtkVolumeRayCastCompositeFunction@@SAPAV1@XZ)

1>medanalysisdlg.obj: error LNK2001: unresolved external symbol "public: static classvtkVolumeRayCastMapper * __cdecl vtkVolumeRayCastMapper::New(void)"(?New@vtkVolumeRayCastMapper@@SAPAV1@XZ)

解决:

这个错误你在你的项目工程里,项目——属性——连接器——输入——附加依赖项里加入vtkVolumeRendering.lib这个库就可以解决了

原创粉丝点击