Joel Andersson edited this page Sep 28, 2012 · 1 revision

**Installing Sundials **

NOTE: In the current trunk version and in all releases v1.5.0beta or later, the Sundials source code is included with CasADi and does not need to be installed separately. Follow the instructions below only if you are using an older version (before 30d352b9d4d35fda095707359513df784981a7f1).

While Sundials can also be grabbed from repositories as above, we recommend you to download and install it from sources. (In particular, the sundials in Debian 6.0 is known to be incompatible. Cmake will warn "-- Could not find sundials libs", and if you try adding the missing symlink to, the build will likely fail with "casadi/interfaces/sundials/cvodes_internal.hpp:112: error: ‘DlsMat’ has not been declared")

Download Sundials (currently versions 2.4 and 2.5 are supported) from website, and unpack it to some directory:

mkdir build
cd build
../configure CFLAGS="-g -O2 -fPIC" --prefix=/usr/local ..
sudo make install
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.