`

VTK7.1.1 安装部署记录

阅读更多

VTK7.1.1 安装部署记录

 

编写: 王宇
2017-10-26

 


 

参考资料

 

http://blog.csdn.net/www_doling_net/article/details/8763686

 

《VTK User’s Guide (11th Edition)》
《The Visualization Toolkit – AnObject-Oriented Approach To 3D Graphics (4th Edition)》

 

下载VTK 7.1.1

 

https://www.vtk.org/download/

 

安装CMake

 

https://cmake.org/download/

 

创建编译目录

 

 

 

配置CMake

 

  • 打开cmake-gui
  • 选择Where is the source code 和 Where to build the binaries
  • 点击下方的 Configure 按键


     
  • 选择编译器:Visual Studio 12 2013


     
  • 选择模块: build_example build_testing build_shared_libs


     
  • 再次点击下方的 Configure 按键
  • 生产makefile, 点击Generate按键
  • 用VS2013 打开生产的工程文件VTK-7.1.1-build/VTK.sln
  • 编译
  • 设置cone功能为启动工程,并run

  • 集成 VTK-DICOM

 

 

错误汇总

 

 

#include "vtkAutoInit.h" 
VTK_MODULE_INIT(vtkRenderingOpenGL2); // VTK was built with vtkRenderingOpenGL2
VTK_MODULE_INIT(vtkInteractionStyle);

 

 

  • error MSB6006 : VS2013 需要管理员权限打开

  • 编译 INSTALL 项目,获取头文件

 

编译

 

  • 编译ALL_BUILD 项目

 

测试

 

  • Cone6 : Set as StarUp Project


     
  • 大小: 5.3 KB
  • 大小: 17.1 KB
  • 大小: 9.7 KB
  • 大小: 18.4 KB
  • 大小: 17 KB
  • 大小: 48.1 KB
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics