Using GCC 4.9
I tried to download an earlier version of OpenMx to see if that solved the problem, but the earliest version on CRAN is 2.2.2, from May 2015 (last year, for now!), and this still had the problem. Is there a a way to download an earlier version which might compile with 4.9? (Or is there some other way to persuade OpenMx to compile with GCC 4.9?)
Thanks,
Jeremy
More details: the errors relate mainly to the eigen package, and say things like:
(Note that I've simplified the paths a little).
C++ compilation of rule 'OpenMx' failed (Exit 1) [forge_remote_host=ioea14].
In file included from OpenMx/OpenMx/src/omxMatrix.cpp:30:
In file included from eigen3/Eigen/MatrixFunctions:59:
Eigen/src/MatrixFunctions/MatrixLogarithm.h:334:52: error: no member named 'Options' in 'Eigen::Map
static const int Options = DerivedNestedClean::Options;
Or
In file included from OpenMx/src/omxMatrix.cpp:30:
In file included fromeigen3/Eigen/MatrixFunctions:57:
eigen3/Eigen/src/MatrixFunctions/MatrixFunction.h:415:21: error: member reference base type 'ComplexMatrix' (aka 'int') is not a structure or union
result = Cresult.real();
gcc
Log in or register to post comments
eigen library, not gcc version(?)
I think maybe your compiler is confused about where to find the eigen library's headers. It should be looking in your R package library, specifically in the directory for package 'RcppEigen', but it doesn't look as though that's what's happening.
Log in or register to post comments
Thanks!
@jpritikin: The C compiler system we have is somewhat beyond me. We use a clang compiler which will become compatible with gcc 5.4 towards the end of the year (they say).
@AdminRobK: That is useful information - both eigen and RcppEigen here are non-standard, and code in eigen is not duplicated in RcppEigen. I'll poke around and see if I can make it find the correct headers.
Thanks again,
jeremy
Log in or register to post comments
clang
Log in or register to post comments
clang
Log in or register to post comments