Comments (16)
Indeed, the latest versions of armadillo
+ RcppArmadillo
require a newer compiler, hence the configure
warnings.
from rcpparmadillo.
Error, actually -- see here.
No point having a warning only to have the compilation die a minute later. This is a hard requirement (from upstream).
from rcpparmadillo.
You may need to alk to the NetDiff maintainers. Maybe you can just edit out the requirement from their DESCRIPTION. Not our package.
But a current (Rcpp)Armadillo requires a new-enough compiler. And g++ 4.4.6 on ancient RHEL or CentOs does not work. Sorry.
from rcpparmadillo.
[ The first name is 'Dirk' ]
That message does not come from us; I suspect you may just have used configure
the wrong way.
from rcpparmadillo.
Why do you open an issue?
You need to install an older version of RcppArmadillo that is appropriately dated for your compiler. And you did. So what more is there to say, really?
from rcpparmadillo.
Any advice on which version to install?
https://cran.r-project.org/src/contrib/Archive/RcppArmadillo/
I am not quite sure on an efficient way to discover an old version compatible with a specific compiler.
from rcpparmadillo.
To a first approximation follow the Armadillo majors, so try the last 6.* release: 0.6.700.6.0. Then 0.5.600.2.0 and so on.
from rcpparmadillo.
Thanks. Picked Dec because holidays! Seems sufficient (wanted latest
Forecast package). Sorry for the hassle I should have tried a few before
posting.
On Mon, Aug 1, 2016 at 3:23 PM, Dirk Eddelbuettel [email protected]
wrote:
To a first approximation follow the Armadillo majors, so try the last 6.*
release: 0.6.700.6.0. Then 0.5.600.2.0 and so on.β
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#97 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAsk5dn0uBmrec9yj5ZKd8b3m_nBHK3Bks5qbnHmgaJpZM4IoxB3
.
from rcpparmadillo.
Hi, sorry to comment on this issue, but I cann't solve my question.
I have successfully installed latest Rcpp version 0.12.8 and RcppArmadillo version 0.6.100.0.0 with g++ 4.4.6, using the command "R CMD INSTALL".
But one of my wanted package "NetDiff" (https://gitlab.com/tt104/NetDiff) need the latest RcppArmadillo version 0.7.600.1.0. However, when I add the g++ version 4.9.2, I got the following error message:
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/tmp/Rtmp5LKNdB/R.INSTALL6ffa4a2cc4a4/RcppArmadillo':
configure: error: cannot run C++ compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details
ERROR: configuration failed for package 'RcppArmadillo'
Is it possible to compile RcppArmadillo_0.7.600.1.0 with g++ 4.9.2 when I have compiled other package with g++ 4.4.6?
Thanks a lot and Happy New Year!
Pengcheng Yang
from rcpparmadillo.
Hi Eddelbuettel,
Thank you for your reply.
I have noticed that the error message says: "If you meant to cross compile, use `--host'." So, I wander if it possible compile RcppArmadillo_0.7.600.1.0 using "cross compile with --host". I have uncompressed the package, but don't know how to do "cross compile use --host".
Anyway, I will try to edit the DESCRIPTION file of NetDiff to use the older version of RcppArmadillo.
Thanks!
from rcpparmadillo.
Hi Dirk,
The installation was performed using the command "R CMD INSTALL", so I don't know how to configure
, such as add "--host" parameter, when installing the R package. OK, I will search how to do this work.
I have contacted with the NetDiff maintainer. Thank you!
from rcpparmadillo.
I wanted to let everyone that I have installed version 0.5 RcppArmadillo to compile the forecast package successfully. No need to get a new GCC :)
from rcpparmadillo.
Hello majaidi, what are the steps you followed to install version 0.5 of RcppArmadillo without updating GCC ?
from rcpparmadillo.
Go to the archive page for RcppArmadillo and download the desired version. You can use the archive file stamp along with the NEWS file to guide. Download the tarball, install locally from source as usual.
from rcpparmadillo.
This is old, but FWIW, I was able to figure out which version of RcppArmadillo to get by checking which version of ubuntu was shipped with my version of g++ (v4.6). Trusty came out in April 2014, so I downloaded a version of RcppArmadillo from early 2014 (v0.4). It worked.
Any advice on which version to install?
https://cran.r-project.org/src/contrib/Archive/RcppArmadillo/I am not quite sure on an efficient way to discover an old version compatible with a specific compiler.
from rcpparmadillo.
Even easier: install the r-cran-rcpparmadillo
that came with your version of Ubuntu if you prefer to (or are forced to) run outdated code.
from rcpparmadillo.
Related Issues (20)
- warning: chol(): given matrix is not symmetric HOT 7
- Possible bug in configure.ac HOT 18
- Problems in installing RcppArmadillo on macOS Monterey HOT 3
- Missing distr_param argument in randu HOT 8
- no matching function for call to βarma::Cube<double>::insert_slices(arma::uword&, arma::mat&) HOT 2
- Deprecating old initialization code in packages using RcppArmadillo HOT 17
- Is `ARMA_64BIT_WORD` supported in RcppArmadillo? HOT 4
- NaN output from arma::uvec compared to arma::vec HOT 4
- Planning to potentially (re)move some legacy internal header files
- Deprecating old stderr stream setting code in packages using RcppArmadillo HOT 12
- Fails to compile vs HOT 3
- Question about SIMD Optimization HOT 3
- package compilation failure HOT 20
- Two failures in test_cube.R on PowerPC HOT 33
- Armadillo 12.0.0 regressions HOT 2
- `RCPP_ARMADILLO_RETURN_ANYVEC_AS_VECTOR` in an R package? HOT 2
- using namespace arma; HOT 1
- Issue on call by reference with a NA matrix HOT 1
- Update indMatrix->arma::SpMat and pMatrix->arma::SpMat for Matrix 1.5-5 HOT 2
- install issue HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcpparmadillo.