unable to update OpenMX
Posted on

Forums
Hi,
I get an update of OpenMX from 2.5.2 to 2.6.7 but the updated version would not compile, these are the errors:
In file included from /usr/lib/R/library/StanHeaders/include/stan/math/rev/mat.hpp:56:0,
from /usr/lib/R/library/StanHeaders/include/stan/math.hpp:4,
from omxMLFitFunction.cpp:19:
/usr/lib/R/library/StanHeaders/include/stan/math/rev/mat/functor/cvodes_utils.hpp:4:27: fatal error: cvodes/cvodes.h: No such file or directory
compilation terminated.
/usr/lib/R/etc/Makeconf:141: recipe for target 'omxMLFitFunction.o' failed
make: *** [omxMLFitFunction.o] Error 1
ERROR: compilation failed for package ‘OpenMx’
R version 3.3.1, platform is Ubuntu 16.04 64 bits.
Thanks
compile
This is a bug in StanHeaders. I expect a bug fix release within a few days. Since you're on Ubuntu, you could also 'apt install libsundials-serial-dev'. OpenMx doesn't use sundials, but it will fix the compile problem.
Log in or register to post comments
In reply to compile by jpritikin
compile
Hi. StanHeaders just got updated. It works now.
Thanks.
Log in or register to post comments