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

ANTsRCore build issue #300

Closed muratmaga closed 4 years ago

muratmaga commented 4 years ago

Build environment is centos 7.6 gcc 6.1.0 cmake 3.13rc3 R 3.6.1

I am using the R CMD INSTALL method.

[ 14%] Building CXX object Examples/CMakeFiles/antsUtilities.dir/ImageMathHelper2D.cxx.o In file included from /gpfs/home/amaga/antsr/ANTsRCore/src/ants/Examples/ImageMathHelper2D.cxx:1:0: /gpfs/home/amaga/antsr/ANTsRCore/src/ants/Examples/ImageMath_Templates.hxx: In function ‘int ants::TileImages(unsigned int, char**)’: /gpfs/home/amaga/antsr/ANTsRCore/src/ants/Examples/ImageMath_Templates.hxx:1109:75: error: ‘itk::ImageIOFactory::FileModeType’ has not been declared itk::ImageIOFactory::CreateImageIO(fn.c_str(), itk::ImageIOFactory::FileModeType::ReadMode); ^

muschellij2 commented 4 years ago

WHat is ANTsRCore/ITKR tags and versions?

muratmaga commented 4 years ago

And found this:

amaga@pplhpc1ln1:/gpfs/home/amaga/antsr/ANTsRCore$ cat data/antsVersions.csv 
Dependency;GitTag
ANTs;a025d042f56561812172a1f6b2ae6848ad914767
ANTsRCore;b89de983aa370db991fd02492a8de61b2bcbd184
ANTsURL;https://github.com/ANTsX/ANTs.git
ITK;bcd762e7bd743341c2dce84852ced49d8292f293
muratmaga commented 4 years ago

any thoughts?

stnava commented 4 years ago

Is this a clean build of latest itkr?

On Tue, Mar 3, 2020 at 2:54 PM muratmaga notifications@github.com wrote:

any thoughts?

— 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/300?email_source=notifications&email_token=AACPE7U5DYM3SP3KOBQTZXDRFVOAZA5CNFSM4LACTMH2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENU5HOI#issuecomment-594138041, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPE7UGP2GMXH5XDWGB27DRFVOAZANCNFSM4LACTMHQ .

--

brian

muratmaga commented 4 years ago

Yes, it is. It was a fresh clone all packages (ITKR, ANTsCore etc) on a separate HPC system, and R CMD INSTALL seem to have worked fine ITKR ...

stnava commented 4 years ago

Probably resolved with recent updates