microsoft / microsoft-r-open

Microsoft R Open Source
212 stars 74 forks source link

Question: Compile errors #120

Open Zhuk66 opened 3 years ago

Zhuk66 commented 3 years ago

I am trying to install rstan with Microsoft R Open 4.0.2 on Red Hat Enterprise Linux 7 and getting compile errors. Somehow Microsoft copyright message is being appended to g++ compiler options. I modified the Makevars file by adding a --quite key to Rscript options, i.e.: PKG_CPPFLAGS += $(shell "${R_HOME}/bin/Rscript" --quiet -e "RcppParallel::CxxFlags()") It compiled after that, but this kind of solution is not acceptable. How can I compile and install rstan without modifying Makevars?

Output: