]> Creatis software - creaToolsTools.git/commitdiff
#3224 creaToolsTools Feature New Normal - vtk8itk4wx3-mingw64
authorEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Tue, 21 Aug 2018 12:48:20 +0000 (14:48 +0200)
committerEduardo DAVILA <davila@ei-ed-606.creatis.insa-lyon.fr>
Tue, 21 Aug 2018 12:48:20 +0000 (14:48 +0200)
Linux/scripts/ThirdParty-install-ITK.sh
Linux/scripts/ThirdParty-install-VTK.sh
Linux/scripts/ThirdParty-install-WT.sh
Linux/scripts/ThirdParty-install-gdcm.sh

index 2b6eac5423ccc68bf0c59a6133c39e7f36d45f9b..a08a8ec1cd6a3f4cf86c0968af4367ca0f2af049 100644 (file)
@@ -134,8 +134,8 @@ fi
 
   else
     # deal with ITK4
-    itkfile=InsightToolkit-4.12.1.tar.gz
-    libname=InsightToolkit-4.12.1
+    itkfile=InsightToolkit-4.13.1.zip
+    libname=InsightToolkit-4.13.1
   fi
 
   if [ $OperatingSystem = "MacOS" ]
@@ -144,10 +144,10 @@ fi
   else
 ##EED19mai2015      wget http://www.creatis.insa-lyon.fr/software/public/creatools/crea_ThirdParty_Libraries/source/$itkfile
       wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/$itkfile
+##  tar -xzvf $itkfile
   fi
 
-  tar -xzvf $itkfile
-  
+  unzip  $itkfile
 
 
 #fi # JPR ------------1
index efe7f32e086929b70d1346afe35186002628b3c4..4c9db74f0aa9f5ad8e4e27e29c4ff76a2e97c9fd 100644 (file)
@@ -143,8 +143,9 @@ fi
 ##  wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/vtk-5.10.1.vtkCompilerExtras.cmake-PATCH
 ##  patch < vtk-5.10.1.vtkCompilerExtras.cmake-PATCH 
 
-       wget http://www.vtk.org/files/release/7.1/VTK-7.1.0.zip
-       unzip VTK-7.1.0.zip
+##     wget http://www.vtk.org/files/release/7.1/VTK-7.1.0.zip
+       wget https://www.vtk.org/files/release/8.1/VTK-8.1.1.zip
+       unzip VTK-8.1.1.zip
 
  fi
 
@@ -201,13 +202,14 @@ fi
 #if [ true = false ]
 if [ true = true ]
 then
-  libname=VTK-7.1.0
+  libname=VTK-8.1.1
+  libnameB=vtk-8.1
   dirInstall=$binDir/$libname-Bin
 ##  export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
-  export VTK_DIR=$installPrefixThird/lib/cmake/vtk-7.1/
+  export VTK_DIR=$installPrefixThird/lib/cmake/$libnameB/
 
   mkdir -p $dirInstall
-  echo "we prepare directories dirInstall " $dirInstall  " VTK_DIR " $installPrefixThird/lib/vtk-7.1/
+  echo "we prepare directories dirInstall " $dirInstall  " VTK_DIR " $installPrefixThird/lib/$libnameB/
   cd $dirInstall
 
 # See EED why we have to do this
@@ -229,8 +231,8 @@ then
 
   cmake -D VTK_Group_Views:BOOL=ON  -D VTK_Group_Qt:BOOL=ON   CMakeCache.txt
   cmake -D BUILD_EXAMPLES:BOOL=OFF -D BUILD_TESTING:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON CMakeCache.txt
+  cmake -D VTK_Group_Views:BOOL=ON -D VTK_Group_Qt:BOOL=OFF CMakeCache.txt  
 
-##EED 2016-12-22  make -j $corenumber
   make -j $corenumber
   make -j $corenumber install
   cd ..
index 9ddfaefad8ff82b2ce635c04efa083ee3d9f2591..8feeec60d6a2422efae1b36073b1727fa1c197fe 100644 (file)
@@ -106,10 +106,12 @@ fi
   tar -xvzf wt-3.3.4.tar.gz
   # MacOS, clever enough to understand it *has* to uncompress, doesn't understand tar -z :-(
  else
-  wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/wt-3.3.4.tar.gz
-  echo tar -xvzf wt-3.3.4.tar.gz
-  pwd
-  tar -xvzf wt-3.3.4.tar.gz
+#  wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/wt-3.3.4.tar.gz
+#  tar -xvzf wt-3.3.4.tar.gz
+
+  wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/wt-4.0.4-rc1.tar.gz
+  tar -xvzf wt-4.0.4-rc1.tar.gz
+
  fi
 
 
@@ -124,13 +126,14 @@ fi
 #if [ true = false ]
 if [ true = true ]
 then
-  libname=wt-3.3.4
+##  libname=wt-3.3.4
+  libname=wt-4.0.4-rc1
   dirInstall=$binDir/$libname-Bin
-##  export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
-  export WT_DIR=$installPrefixThird/lib/wt-3.3.4/
+##  export WT_DIR=$installPrefixThird/lib/wt-3.3.4/
+  export WT_DIR=$installPrefixThird/lib/$libname
 
   mkdir -p $dirInstall
-  echo "we prepare directories dirInstall " $dirInstall  " WT_DIR " $installPrefixThird/lib/wt-3.3.4/
+  echo "we prepare directories dirInstall " $dirInstall  " WT_DIR " $installPrefixThird/lib/$libname/
   cd $dirInstall
 
 # See EED why we have to do this
@@ -141,8 +144,8 @@ then
   cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
   ##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
   cmake -D CMAKE_BUILD_TYPE:STRING=$buildType -D CMAKE_INSTALL_PREFIX:PATH=$installPrefixThird CMakeCache.txt
-  cmake -D LIB_INSTALL_DIR:PATH=lib/$libname -D ENABLE_EXT:BOOL=true ENABLE_MYSQL:BOOL=false CMakeCache.txt
-  cmake -D BUILD_TESTS:BOOL=false CMakeCache.txt
+  cmake -D LIB_INSTALL_DIR:PATH=lib/$libname -D ENABLE_EXT:BOOL=ON ENABLE_MYSQL:BOOL=OFF CMakeCache.txt
+  cmake -D BUILD_TESTS:BOOL=OFF CMakeCache.txt
 #  if [ $OperatingSystem = "MacOS" ]
 #  then
 #     ###
index 3563f6fba9bd4c28ea1e2e4e7410559f9e5951fb..5183c5f15bafd5691dd13ef1bf156e4c23f9a151 100644 (file)
@@ -118,8 +118,11 @@ fi
 #    wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm_05_Mai_2011.tar.gz
 #      tar -xvzf gdcm_05_Mai_2011.tar.gz
 
-    wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm_10_Mars_2017-vtk7.tar.gz
-       tar -xvzf gdcm_10_Mars_2017-vtk7.tar.gz
+#    wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm_10_Mars_2017-vtk7.tar.gz
+#      tar -xvzf gdcm13_2018_05_28_vtk8.tar.gz
+
+    wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm13_2018_05_28_vtk8.zip
+       unzip gdcm13_2018_05_28_vtk8.zip
 
  fi