Skip to content

Commit 20b1b47

Browse files
committed
Add patch for vtk 'uint32_t' was not declared in this scope compilation error
1 parent e5202e9 commit 20b1b47

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ cd ../../
607607
# build minimal static version of VTK including GUISupportQt and RenderingQt modules
608608
git clone -b $VTK_VERSION --depth 1 https://github.com/Kitware/VTK.git
609609
cd VTK
610+
git apply --ignore-space-change --ignore-whitespace --verbose ../vtk.diff
610611
mkdir build
611612
cd build
612613
cmake -GNinja .. \

vtk.diff

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/ThirdParty/libproj/vtklibproj/src/filemanager.cpp b/ThirdParty/libproj/vtklibproj/src/filemanager.cpp
2+
index 70354c663a..6164931b97 100644
3+
--- a/ThirdParty/libproj/vtklibproj/src/filemanager.cpp
4+
+++ b/ThirdParty/libproj/vtklibproj/src/filemanager.cpp
5+
@@ -45,6 +45,7 @@
6+
#include "proj_internal.h"
7+
8+
#include <sys/stat.h>
9+
+#include <cstdint>
10+
11+
#include "proj_config.h"
12+

0 commit comments

Comments
 (0)