##
## fi
- wget https://www.vtk.org/files/release/8.2/VTK-8.2.0.zip
- unzip VTK-8.2.0.zip
+## wget https://www.vtk.org/files/release/8.2/VTK-8.2.0.zip
+## unzip VTK-8.2.0.zip
+
+ wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/VTK-8.2.0-Patch.zip
+ unzip VTK-8.2.0-Patch.zip
#if [ $buildType = "Debug" ]
#then
#if [ true = false ]
if [ true = true ]
then
- libname=VTK-8.2.0
+ libname=VTK-8.2.0-Patch
libnameB=vtk-8.2
dirInstall=$binDir/$libname-Bin
## export VTK_DIR=$installPrefixThird/lib/vtk-5.6/
echo
fi
- cmake -D VTK_Group_Views:BOOL=ON -D VTK_Group_Qt:BOOL=ON CMakeCache.txt
+ 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
+ cmake -D CMAKE_INSTALL_LIBDIR:STRING="lib" CMakeCache.txt
make -j $corenumber
make -j $corenumber install
fi
source $PWD/scripts/CreaTools-configure.sh
-#EED 2017-03-24
+#EED 2021-11-15
source $PWD/scripts/LocalFunctions.sh
if [ `getDistrib` == "CentOS" ] && [ `getKernelVersion` < "2.6.34" ]
then
stdCompiler=c++98
else
- stdCompiler=c++03
+ stdCompiler=c++11
fi
## # tar -xvzf gdcm13_2018_05_28_vtk8.tar.gz
## fi
- 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
+ wget http://www.creatis.insa-lyon.fr/~davila/creatools_back_site/crea_ThirdParty_Libraries/source/gdcm13_2019_06_17_vtk8.zip
+ unzip gdcm13_2019_06_17_vtk8.zip
# mv gdcm13_2018_05_28_vtk8 gdcm
#if [ true = false ]
if [ true = true ]
then
- libname=gdcm13_2018_05_28_vtk8
+ libname=gdcm13
dirInstall=$binDir/$libname-Bin
export GDCM_DIR=$installPrefixThird/lib/gdcm/
mkdir -p $dirInstall