Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation not working #35

Open
wasserth opened this issue Oct 5, 2021 · 1 comment
Open

Installation not working #35

wasserth opened this issue Oct 5, 2021 · 1 comment

Comments

@wasserth
Copy link

wasserth commented Oct 5, 2021

Hi,
is there an installer available for DrawEM? I tried for several hours to compile it from source by using setup.sh, but it always ended in some errors. Some dependencies are missing and when I try to install those, those are resulting in errors. An easier way to use DrawEM would be highly appreciated. Is there an installer or a docker image available?

@KEswar
Copy link

KEswar commented Dec 26, 2023

Hi. I am facing a similar problem. I would greatly appreciate if someone can help to solve this. The error is
sudo ./setup.sh -j 1
Installing ITK
git clone --recursive -b master https://github.com/InsightSoftwareConsortium/ITK.git /home/sgbc/DrawEM/build/ITK
cd /home/sgbc/DrawEM/build/ITK
git reset --hard v5.1.1
git submodule update
mkdir -p /home/sgbc/DrawEM/build/ITK/build
cd /home/sgbc/DrawEM/build/ITK/build
cmake /home/sgbc/DrawEM/build/ITK -DBUILD_EXAMPLES=OFF -DBUILD_SHARED_LIBS=ON -DBUILD_TESTING=OFF -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 -DCMAKE_C_COMPILER=/usr/bin/gcc-7
make -j1
Installing VTK
git clone --recursive -b release https://github.com/Kitware/VTK.git /home/sgbc/DrawEM/build/VTK
cd /home/sgbc/DrawEM/build/VTK
git reset --hard v9.0.1
git submodule update
mkdir -p /home/sgbc/DrawEM/build/VTK/build
cd /home/sgbc/DrawEM/build/VTK/build
cmake /home/sgbc/DrawEM/build/VTK -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 -DCMAKE_C_COMPILER=/usr/bin/gcc-7
make -j1
Installing MIRTK
git clone --recursive -b master https://github.com/BioMedIA/MIRTK.git /home/sgbc/DrawEM/build/MIRTK
cd /home/sgbc/DrawEM/build/MIRTK
git reset --hard 77d3f391b49b0cee9e80da774fb074995fdf415f
git submodule update
echo checking out drawem
Previous HEAD position was 37a94ad Merge pull request #26 from schuhschuh/fix-dependency-on-itk
HEAD is now at d2ff4e3 Merge pull request #31 from MIRTK/fix-ants-cmake-min-required-version
mkdir -p /home/sgbc/DrawEM/build/MIRTK/build
cd /home/sgbc/DrawEM/build/MIRTK/build
cmake /home/sgbc/DrawEM/build/MIRTK -DMODULE_Deformable=ON -DMODULE_DrawEM=ON -DDEPENDS_Eigen3_DIR=/home/sgbc/DrawEM/ThirdParty/eigen-eigen-67e894c6cd8f -DWITH_VTK=ON -DDEPENDS_VTK_DIR=/home/sgbc/DrawEM/build/VTK/build -DWITH_ITK=ON -DITK_DIR=/home/sgbc/DrawEM/build/ITK/build -DWITH_TBB=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 -DCMAKE_C_COMPILER=/usr/bin/gcc-7
cmake /home/sgbc/DrawEM/build/MIRTK -DMODULE_Deformable=ON -DMODULE_DrawEM=ON -DDEPENDS_Eigen3_DIR=/home/sgbc/DrawEM/ThirdParty/eigen-eigen-67e894c6cd8f -DWITH_VTK=ON -DDEPENDS_VTK_DIR=/home/sgbc/DrawEM/build/VTK/build -DWITH_ITK=ON -DITK_DIR=/home/sgbc/DrawEM/build/ITK/build -DWITH_TBB=ON -DCMAKE_CXX_COMPILER=/usr/bin/g++-7 -DCMAKE_C_COMPILER=/usr/bin/gcc-7 : command failed, see log file: /home/sgbc/DrawEM/setup.log
Thank you for your time in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants