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

Can you use devtools #1

Closed
muschellij2 opened this issue Mar 30, 2014 · 7 comments
Closed

Can you use devtools #1

muschellij2 opened this issue Mar 30, 2014 · 7 comments

Comments

@muschellij2
Copy link
Collaborator

Why can this not be installed using the "standard" github installer:

library(devtools)
install_github("ANTsR", "stnava")

?

@stnava
Copy link
Member

stnava commented Mar 30, 2014

you probably need to start R with sudo or something like that ... or you
may need to install cmake if you dont have it.

brian

On Sun, Mar 30, 2014 at 4:40 PM, muschellij2 [email protected]:

Why can this not be installed using the "standard" github installer:

library(devtools)
install_github("ANTsR", "stnava")

?

Reply to this email directly or view it on GitHubhttps://github.com//issues/1
.

@muschellij2
Copy link
Collaborator Author

You may need to install cmake, but I've found
install_github("stnava/ANTsR") to work fine - you may want people to try that first.

@hhongtai
Copy link

I am using PC with windows 7. While I was installing this package, it gave me the following warning and error. Anyone can kindly tell me how to fix this? Thanks.

*** arch - i386
Warning: running command 'make -f "Makevars.win" -f "C:/1/DOCUME1/R/R-311.1/etc/i386/Makeconf" -f "C:/Users/HONGTA1/DOCUME1/R/R-311.1/share/make/winshlib.mk" SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)' SHLIB="ANTsR.dll" OBJECTS="Atropos.o ImageMath.o KellyKapowski.o LabelClustersUniquely.o N3BiasFieldCorrection.o N4BiasFieldCorrection.o ResampleImageBySpacing.o ThresholdImage.o TileImages.o antsAffineInitializer.o antsApplyTransforms.o antsBinaryThresholdImageFilter.o antsImage.o antsImageClone.o antsImageList.o antsImageRead.o antsImageWrite.o antsMatrix.o antsMotionCorr.o antsPermuteAxesImageFilter.o antsRegistration.o antsThresholdImageFilter.o itkImageR.o sccan.o"' had status 127
ERROR: compilation failed for package 'ANTsR'

@stnava
Copy link
Member

stnava commented Oct 14, 2014

that's interesting ..... wish i could help but dont have a functional
windows compilation setup.

is this a recent version of antsr?

can you provide more information? compiler, R version, ANTsR version, etc.

and maybe a more complete set of compilation outputs?

brian

On Tue, Oct 14, 2014 at 4:51 PM, hhongtai [email protected] wrote:

I am using PC with windows 7. While I was installing this package, it gave
me the following warning and error. Anyone can kindly tell me how to fix
this? Thanks.

*** arch - i386
Warning: running command 'make -f "Makevars.win" -f
"C:/1/DOCUME1/R/R-311.1/etc/i386/Makeconf" -f
"C:/Users/HONGTA
1/DOCUME1/R/R-311.1/share/make/winshlib.mk"
SHLIB_LDFLAGS='$(SHLIB_CXXLDFLAGS)' SHLIB_LD='$(SHLIB_CXXLD)'
SHLIB="ANTsR.dll" OBJECTS="Atropos.o ImageMath.o KellyKapowski.o
LabelClustersUniquely.o N3BiasFieldCorrection.o N4BiasFieldCorrection.o
ResampleImageBySpacing.o ThresholdImage.o TileImages.o
antsAffineInitializer.o antsApplyTransforms.o
antsBinaryThresholdImageFilter.o antsImage.o antsImageClone.o
antsImageList.o antsImageRead.o antsImageWrite.o antsMatrix.o
antsMotionCorr.o antsPermuteAxesImageFilter.o antsRegistration.o
antsThresholdImageFilter.o itkImageR.o sccan.o"' had status 127
ERROR: compilation failed for package 'ANTsR'


Reply to this email directly or view it on GitHub
#1 (comment).

@hhongtai
Copy link

Hey Brian,

Thank you. I never installed antsr before so I presume it is a recent version that I downloaded by using command 'install_github("stnava/ANTsR") '.
The R version is 3.1.1.
I am trying a few things now and will post here if I find the solution.

@stnava
Copy link
Member

stnava commented Oct 15, 2014

super! please do let me know if you get this to work and what experience
you had.... ultimately, i'd like to get this on cran but we need more
windows build info to make that happen!

brian

On Wed, Oct 15, 2014 at 10:46 AM, hhongtai [email protected] wrote:

Hey Brian,

Thank you. I never installed antsr before so I presume it is a recent
version that I downloaded by using command 'install_github("stnava/ANTsR")
'.
The R version is 3.1.1.
I am trying a few things now and will post here if I find the solution.


Reply to this email directly or view it on GitHub
#1 (comment).

@muschellij2
Copy link
Collaborator Author

Looks like this is recommended now, so I'll close.

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

3 participants