You are here

unable to update OpenMX

3 posts / 0 new
Last post
bee's picture
bee
Offline
Joined: 05/19/2015 - 04:59
unable to update OpenMX

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

jpritikin's picture
Offline
Joined: 05/24/2012 - 00:35
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.

bee's picture
bee
Offline
Joined: 05/19/2015 - 04:59
compile

Hi. StanHeaders just got updated. It works now.

Thanks.

Log in or register to post comments