libname=VTK
dirInstall=$binDir/$libname-Bin
dirInstallVTK=$dirInstall
- mkdir $dirInstall
+ VTK_DIR=$installPrefix/lib/vtk-5.6/
cd $dirInstall
cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
##cmake -G"CodeBlocks - Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
then
libname=gdcm
dirInstall=$binDir/$libname-Bin
+ GDCM_DIR=$installPrefix/lib/gdcm/
mkdir $dirInstall
cd $dirInstall
cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
then
libname=InsightToolkit-3.20.0
dirInstall=$binDir/$libname-Bin
+ ITK_DIR=$installPrefix/lib/InsightToolkit/
mkdir $dirInstall
cd $dirInstall
cmake -G"Unix Makefiles" -H$sourcesDir/$libname -B$dirInstall/
echo export VTK_DIR=$installPrefix/lib/vtk-5.6 >> $installPrefix/share/creatools_third_party_library_config.sh
echo export ITK_DIR=$installPrefix/lib/InsightToolkit >> $installPrefix/share/creatools_third_party_library_config.sh
echo export GDCM_DIR=$installPrefix/lib/gdcm >> $installPrefix/share/creatools_third_party_library_config.sh
-echo export TTH=$installPrefix/bin/tth >> $installPrefix/share/creatools_third_party_library_config.sh
+echo export TTH=$installPrefix/bin/tth >> $installPrefix/share/creatools_third_party_library_config.sh
echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$GDCM_DIR >> $installPrefix/share/creatools_third_party_library_config.sh
echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$ITK_DIR >> $installPrefix/share/creatools_third_party_library_config.sh
echo export LD_LIBRARY_PATH='$'LD_LIBRARY_PATH:$VTK_DIR >> $installPrefix/share/creatools_third_party_library_config.sh