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 issues => ERROR: compilation failed for package 'DreamAI' #11

Closed
ihorrible opened this issue Feb 23, 2022 · 4 comments
Closed

Comments

@ihorrible
Copy link

Hi everyone! I am would like to use NAguideR (https://github.com/wangshisheng/NAguideR) which requires Dream AI package, but I cannot install the Dream AI because of the following error:

Error
dreamai

remotes::install_github("WangLab-MSSM/DreamAI/Code")
Downloading GitHub repo WangLab-MSSM/DreamAI@HEAD
√ checking for file 'C:\Users\iataraskin\AppData\Local\Temp\RtmpiCzuU7\remotes3594182526e3\WangLab-MSSM-DreamAI-7e395b3\Code/DESCRIPTION' (477ms)

  • preparing 'DreamAI': (1s)
    √ checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories (339ms)
  • building 'DreamAI_0.1.0.tar.gz'

Устанавливаю пакет в ‘C:/Users/iataraskin/Documents/R/win-library/4.1’
(потому что ‘lib’ не определено)

  • installing source package 'DreamAI' ...
    ** using staged installation
    ** libs

*** arch - i386
"c:/rtools40/mingw32/bin/"g++ -std=gnu++11 -I"C:/PROGRA1/R/R-411.2/include" -DNDEBUG -I'C:/Users/iataraskin/Documents/R/win-library/4.1/Rcpp/include' -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c dummy.cpp -o dummy.o
sh: line 1: c:/rtools40/mingw32/bin/g++: No such file or directory
make: *** [C:/PROGRA1/R/R-411.2/etc/i386/Makeconf:245: dummy.o] Error 127
ERROR: compilation failed for package 'DreamAI'

  • removing 'C:/Users/iataraskin/Documents/R/win-library/4.1/DreamAI'
    Warning message:
    In i.p(...) :
    installation of package ‘C:/Users/IATARA~1/AppData/Local/Temp/RtmpiCzuU7/file35946dde2276/DreamAI_0.1.0.tar.gz’ had non-zero exit status
@annapamma
Copy link
Member

Hi @ihorrible !

What version of R are you using? (From the error message, it looks like it might be 4.1. Can you try it with 3.5?)

And do you have Rtools installed?

Thanks!

@ihorrible
Copy link
Author

Hi @ihorrible !

What version of R are you using? (From the error message, it looks like it might be 4.1. Can you try it with 3.5?)

And do you have Rtools installed?

Thanks!

Hi @annapamma Yes, I have Rtools installed. Any other options I can leave my version 4.1 ? (3.5 seems to be out of date a little bit))

@ihorrible
Copy link
Author

I re-install Rtools and leave my version of R as 4.1 and now everything works )

wangshisheng/NAguideR#2

@annapamma
Copy link
Member

Thank you for the update! I'll go ahead and close this then.

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