]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install-VTK.sh
#2493 creaToolsTools Feature New Normal - Prepare and Install binary CreaTools...
[creaToolsTools.git] / Linux / scripts / ThirdParty-install-VTK.sh
index 7ab1f31a8df5e26e28b953fc06caa4ef05edb990..806296692adb3c3b1795369320d9e92b8eba8426 100644 (file)
@@ -108,9 +108,11 @@ fi
 ##  tar -xvf VTK-5.6.1.patchCreatis.tar.gz
 
   curl -O http://www.vtk.org/files/release/5.10/vtk-5.10.1.zip
-  # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
   unzip vtk-5.10.1.zip
-
+  cd VTK5.10.1/Rendering
+  curl -O http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkXOpenGLRenderWindow.patch
+  patch < vtk-5.10.1.vtkXOpenGLRenderWindow.patch
+  # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
  else
 
 ## EED 2013-10-29
@@ -121,8 +123,15 @@ fi
 echo unzip vtk-5.10.1.zip
 pwd
   unzip vtk-5.10.1.zip
+
+  cd VTK5.10.1/Rendering
+  wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkXOpenGLRenderWindow.patch
+  patch < vtk-5.10.1.vtkXOpenGLRenderWindow.patch
  fi
 
+
+
+
 #if [ $buildType = "Debug" ]
 #then
 #   debug="ON"