pyushkevich / greedy

Very fast greedy diffeomorphic registration code
GNU General Public License v3.0
67 stars 18 forks source link

Errors when trying to install greedy #31

Closed Anuththara-Rupasinghe closed 2 years ago

Anuththara-Rupasinghe commented 2 years ago

Hi Paul,

I have been trying to install greedy in Linux, following the instructions in https://greedy.readthedocs.io/en/latest/install.html. I tried the installation with two different versions of ITK, -5.2.1 and -4.13.3. When I tried with version 5.2.1, I got the error: 'fatal error: itkVectorResampleImageFilter.h: No such file or directory', when trying to make greedy. I thought this could be due to a version mismatch, and thus tried with an earlier version of ITK 4.13.3. Then, I get a different error in the make step: 'error: 'isnan' was not declared in this scope'. I have been trying to pin-point the source of this error for a couple of weeks, but was unable to do so. It would be great if you can let me know what you think about this, if I am missing something and if there's any way to fix this. Please let me know if you need any further details. Thanks a lot!

Best regards, Anuththara

pyushkevich commented 2 years ago

Hi Anuthtnara,

Could you try building the ith5vtk9 branch using the latest ITK and VTK versions? This is the latest code.

If you want a binary you can download itksnap, one is bundled with it

Best, Paul

On Thu, Feb 10, 2022 at 3:10 PM Anuththara Rupasinghe < @.***> wrote:

Hi Paul,

I have been trying to install greedy in Linux, following the instructions in https://greedy.readthedocs.io/en/latest/install.html. I tried the installation with two different versions of ITK, -5.2.1 and -4.13.3. When I tried with version 5.2.1, I got the error: 'fatal error: itkVectorResampleImageFilter.h: No such file or directory', when trying to make greedy. I thought this could be due to a version mismatch, and thus tried with an earlier version of ITK 4.13.3. Then, I get a different error in the make step: 'error: 'isnan' was not declared in this scope'. I have been trying to pin-point the source of this error for a couple of weeks, but was unable to do so. It would be great if you can let me know what you think about this, if I am missing something and if there's any way to fix this. Please let me know if you need any further details. Thanks a lot!

Best regards, Anuththara

— Reply to this email directly, view it on GitHub https://github.com/pyushkevich/greedy/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJPEW3TN4GDCAOB2MJ2HR3U2QSVHANCNFSM5OCBZXPQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

--

Paul Yushkevich

Anuththara-Rupasinghe commented 2 years ago

Hi Paul,

Thank you so much for the prompt response, it was very helpful. I was able to build and install Greedy using the latest version that you pointed out.

Best regards, Anuththara