Skip to content

Commit

Permalink
Update vGate.sh
Browse files Browse the repository at this point in the history
The previous process was not totaly updated
  • Loading branch information
tbaudier authored Jun 20, 2023
1 parent b3b7408 commit 3dd8470
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions source/docker/vGate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,21 @@ mkdir Software
cd Software
mkdir VTK ITK RTK vv root Geant4 Gate
cd VTK
mkdir src bin install
mkdir src bin
git clone -b v9.0.3 https://github.com/Kitware/VTK.git src
cd bin
cmake ../src -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/home/vgate/Software/VTK/install -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES -DVTK_MODULE_ENABLE_VTK_RenderingQt=YES -DVTK_MODULE_ENABLE_VTK_ViewsQt=YES
make install
cmake ../src -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DVTK_MODULE_ENABLE_VTK_GUISupportQt=YES -DVTK_MODULE_ENABLE_VTK_RenderingQt=YES -DVTK_MODULE_ENABLE_VTK_ViewsQt=YES
make
cd ..
rm -rf bin src

cd
cd Software/ITK
mkdir src bin install
mkdir src bin
git clone -b v5.2.1 https://github.com/InsightSoftwareConsortium/ITK.git src
cd bin
ccmake ../src -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=/home/vgate/Software/ITK/install -DModule_ITKVtkGlue=ON -DVTK_DIR=/home/vgate/Software/VTK/install/lib/cmake/vtk-9.0/
make install
ccmake ../src -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DModule_ITKVtkGlue=ON #+path to VTK
make
cd ..
rm -rf bin src

cd
cd Software/RTK
Expand All @@ -56,10 +54,9 @@ cd Software/vv
mkdir src bin install
git clone https://github.com/open-vv/vv.git src
cd bin
ccmake ../src -DITK_DIR=/home/vgate/Software/ITK/install/lib/cmake/ITK-5.2/ -DCMAKE_INSTALL_PREFIX=/home/vgate/Software/vv/install
make install
ccmake ../src #+path itk
make
cd ..
rm -rf src bin

cd
cd Software/root
Expand Down

0 comments on commit 3dd8470

Please sign in to comment.