ANTsX / ANTsR

R interface to the ANTs biomedical image processing library
https://antsx.github.io/ANTsR
Apache License 2.0
127 stars 35 forks source link

Installing ANTsR failing #325

Closed prateeksasan1 closed 4 years ago

prateeksasan1 commented 4 years ago

Installing the latest ANTsR and ANTsRCore is failing on university server. the latest version of cmake(v 3.17.2) is present and i am using R 3.6. Can you tell me the last stable version of the two packages. i just have to do basic image transformation, registration etc.

stnava commented 4 years ago

This really is not specific enough information...

You can check the Travis builds to see if there’s any indication of issues.

On Mon, Aug 17, 2020 at 3:41 PM Prateek Sasan notifications@github.com wrote:

Installing the latest ANTsR and ANTsRCore is failing on university server. the latest version of cmake(v 3.17.2) is present and i am using R 3.6. Can you tell me the last stable version of the two packages. i just have to do basic image transformation, registration etc.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ANTsX/ANTsR/issues/325, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPE7RUCULGZDKGAGE2YATSBGBWBANCNFSM4QCDKBIA .

--

brian

prateeksasan1 commented 4 years ago

Please find below the error i got when i tried to download ANTsRCore in R 4.0.2.

Error: package or namespace load failed for ‘ANTsRCore’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/users/PAS1316/prateeksasan/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ANTsRCore/00new/ANTsRCore/libs/ANTsRCore.so': /users/PAS1316/prateeksasan/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ANTsRCore/00new/ANTsRCore/libs/ANTsRCore.so: undefined symbol: _ZN4ants16antsRegistrationESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EEPSo

stnava commented 4 years ago

this means you've done something wrong on your end.

please clean up ITKR, ANTsRCore and ANTsR and restart from scratch following one of the methods described here:

https://github.com/ANTsX/ANTsR#installation-from-source

brian

On Wed, Aug 19, 2020 at 12:04 PM Prateek Sasan notifications@github.com wrote:

Please find below the error i got when i tried to download ANTsRCore in R 4.0.2.

Error: package or namespace load failed for ‘ANTsRCore’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/users/PAS1316/prateeksasan/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ANTsRCore/00new/ANTsRCore/libs/ANTsRCore.so': /users/PAS1316/prateeksasan/R/x86_64-pc-linux-gnu-library/4.0/00LOCK-ANTsRCore/00new/ANTsRCore/libs/ANTsRCore.so: undefined symbol: _ZN4ants16antsRegistrationESt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EEPSo

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ANTsX/ANTsR/issues/325#issuecomment-676516600, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPE7QKBOLOZMBPQLAGJRTSBPZZBANCNFSM4QCDKBIA .

prateeksasan1 commented 4 years ago

I tried and got the same error. do you think the version of cmake or the fact that i am trying to install it on OSC can cause such an issue?

stnava commented 4 years ago

certainly, details matter. your issue is a linking/symbols definition which has to do with your compiler/linker. not something we can do anything about on our end. you might just want to follow the .travis.yml examples in terms of system setup or just use the docker container.