Open vappiah opened 12 months ago
Hi @vappiah,
Can you post the whole build log of the error you are posting and the sessionInfo()
?
Hi @pati-ni Here is the build log
g++ -std=gnu++11 -I"/software/R-3.6.3/lib/R/include" -DNDEBUG -I"/software/R-3.6.3/lib/R/library/Rcpp/include" -I"/software/R-3.6.3/lib/R/library/RcppArmadillo/include" -I"/software/R-3.6.3/lib/R/library/RcppProgress/include" -I/usr/local/include -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++11 -I"/software/R-3.6.3/lib/R/include" -DNDEBUG -I"/software/R-3.6.3/lib/R/library/Rcpp/include" -I"/software/R-3.6.3/lib/R/library/RcppArmadillo/include" -I"/software/R-3.6.3/lib/R/library/RcppProgress/include" -I/usr/local/include -fpic -g -O2 -c harmony.cpp -o harmony.o
g++ -std=gnu++11 -I"/software/R-3.6.3/lib/R/include" -DNDEBUG -I"/software/R-3.6.3/lib/R/library/Rcpp/include" -I"/software/R-3.6.3/lib/R/library/RcppArmadillo/include" -I"/software/R-3.6.3/lib/R/library/RcppProgress/include" -I/usr/local/include -fpic -g -O2 -c timer.cpp -o timer.o
g++ -std=gnu++11 -I"/software/R-3.6.3/lib/R/include" -DNDEBUG -I"/software/R-3.6.3/lib/R/library/Rcpp/include" -I"/software/R-3.6.3/lib/R/library/RcppArmadillo/include" -I"/software/R-3.6.3/lib/R/library/RcppProgress/include" -I/usr/local/include -fpic -g -O2 -c utils.cpp -o utils.o
utils.cpp: In function ‘arma::vec find_lambda_cpp(const vec&, const vec&, const std::vector<int, std::allocator
The downloaded source packages are in ‘/tmp/RtmpCv3jto/downloaded_packages’ Updating HTML index of packages in '.Library' Making 'packages.html' ... done Warning message: In install.packages("harmony") : installation of package ‘harmony’ had non-zero exit status
Hi @vappiah,
Thanks! So what I would ask is it to check how old your armadillo is..
Can you post the following output?
library(RcppArmadillo)
sessionInfo()
Hi Developers, I tried installing harmony on an Ubuntu Machine and I got this error below. Please advice.
In function ‘arma::vec find_lambda_cpp(const vec&, const vec&, const std::vector<int, std::allocator >&)’:
utils.cpp:127:29: error: ‘value’ is not a member of ‘arma::fill’
B_vec[b], arma::fill::value(lambda_dym));