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 problems #773

Open
ghost opened this issue Jun 15, 2021 · 3 comments
Open

Installation problems #773

ghost opened this issue Jun 15, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 15, 2021

No description provided.

@ghost
Copy link
Author

ghost commented Jun 15, 2021

Hello,
I hope you are doing well.

I am having troubles installing MIRTK. I followed your instructions here https://mirtk.github.io/install.html after downloading the MIRTK and submodules (I mostly require DrawEM submodule).
I first had errors during the 'make' stage where I had to unzip the DrawEM atlases in Packages/DrawEM/atlases/src myself + additional issues with N4 compilation failing (solved when I disabled ThirdParty/ANTs in CMakeLists.txt).
Subsequently, make install runs fine and together with the autocompletion commands the mirtk seems to 'work' at first glance. However, when I try to run the 'mirtk neonatal-segmentation <subject_T2> <age_at_scan>' I run into <>/mirtk/lib/scripts/preprocess.sh : No such file or directory. Error: neonatal-segmentation command returned non-zero exit status 1.

<>/mirtk/lib/scripts/ indeed does not exist.
Do you have any advice how to resolve this issue?

On a related note, I also tried to get the MIRTK with a viewer application with:
wget -O mirtk https://bintray.com/schuhschuh/AppImages/download_file?file_path=MIRTK-latest-x86_64-glibc2.14.AppImage

This however leads to a 403 fobidden message.
Maybe you have tips on that as well?

Thanks in advance.
Best,
Andrea

@ghost ghost closed this as completed Jun 15, 2021
@ghost ghost reopened this Jun 15, 2021
@schuhschuh
Copy link
Member

Hi Andrea, if your OS is Linux, try downloading the AppImage using this URL: https://bintray.com/schuhschuh/AppImages/download_file?file_path=MIRTK-2.1-pre2-x86_64-glibc2.14.AppImage

@soundray
Copy link

soundray commented Jul 28, 2021

I have a similar issue. Andreas, the AppImage link seems to be dead.

Update: I compiled ANTs in full and separately, then copied N4BiasFieldCorrection to $MIRTK_BINARY_DIR/lib/tools/N4 -- now mirtk neonatal-segmentation seems to be working. Also, it seemed to be necessary to export DRAWEMDIR=$MIRTK_SOURCE_DIR/Packages/DrawEM.

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