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" ]
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
## 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
#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
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 ..
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
#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
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
# ###
# 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