Skip to content

Commit

Permalink
add note
Browse files Browse the repository at this point in the history
  • Loading branch information
hxf0223 committed Sep 4, 2024
1 parent 4cff483 commit f65d6a9
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions _posts/2024-09-05-building-vtk-under-windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
title: Windows 环境编译 VTK
date: 2024-09-05 +0800 # 2022-01-01 13:14:15 +0800 只写日期也行;不写秒也行;这样也行 2022-03-09T00:55:42+08:00
categories: [cpp]
tags: [cpp, CAD, VTK] # TAG names should always be lowercase

# 以下默认false
math: true
mermaid: true
# pin: true
---

## 1. 依赖项

`OpenCascade`官网下载编译好的包,提取里面的依赖包。下载地址:[OpenCascade](https://dev.opencascade.org/release)

## 批量编译 VTK -- 同时编译Debug/Release版本

使用`CMake`生成完成之后,打开`Visual Studio`进行编译。

选择`生成` -> `批生成`,选取如下 `Debug Install``Release Install`即可,并开始编译。编译时间较长。

![batch_build_vtk_windows](/assets/images/vtk/vtk_batch_build_windows.png)
Binary file added assets/images/vtk/vtk_batch_build_windows.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f65d6a9

Please sign in to comment.