admin 管理员组

文章数量: 1086019


2024年3月20日发(作者:verify your password翻译成中文)

VS2013+Qt5.3.1_OpenGL+CMake3.0.1+doxygen1.8.8+ActivePerl5.1+VTK6.1.0

编译篇

这是我的VTK处女编译经历,在这里分享给大家。

平台是Windows8.1专业版32位系统+Visual Studio 2013

所用到的其它工具如下:

qt-opensource-windows-x86-

msvc2013_

ActivePerl-5.16.3.1604-MSWin32-x86-

Visual Studio 2013+Windows8.1专业版

/downloads

/~dimitri/doxygen/

/

这个就自己安装吧,应该不是问题

/VTK/resources/

/download/#latest

首先,把工具都安装到PC上,我把前四个软件都安装在D盘下面,VTK的源代码包解压到了空闲盘

(F盘):

软件

ActivePerl-5.16.3.1604-MSWin32-x86-

qt-opensource-windows-x86-

msvc2013_

安装路径

D:Perl

D:CMake

d:doxygen

D:QtQt5.3.1

备注

编译文档的附加依赖

Add CMake to the system PATH for all users

用于编译VTK文档

GUI支持

压缩包

之后,在F盘下建立一个VTK-Build和VTK文件夹,VTK-Build用来存放CMake对VTK生成的

VS2013项目文件,VTK文件夹是编译完成后用来安装VTK库文件的目录。

打开D:,并设置Where is the source code和Where to build the binaries目录,

点击Configure按钮,并选择编译器,点击Finish,就进行了CMake对VTK的首次配置过程,如下图:

F:VTK-6.1.0

解压后文件路径


本文标签: 编译 安装 文件 解压 用来