From ff971335927636b949b3973b385ee20a4dc3a9fb Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Tue, 29 Apr 2014 19:02:58 +0000 Subject: [PATCH] [Doc] Add note about how to fix Sundials CMakeLists.txt The Sundials CMakeLists.txt was not correctly updated for the 2.5.0 release, and builds a version of Sundials that still claims to be 2.4.0. This leads to compilation errors since some Sundials functions have changed signatures between 2.4 and 2.5, and Canteran needs to distinguish between the two. Cherry-pick of trunk r2887. --- doc/sphinx/compiling.rst | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/doc/sphinx/compiling.rst b/doc/sphinx/compiling.rst index 4401792c4..485dfc360 100644 --- a/doc/sphinx/compiling.rst +++ b/doc/sphinx/compiling.rst @@ -486,6 +486,20 @@ Optional Programs configure --with-cflags=-fPIC * `Windows Installer XML (WiX) toolset `_ + .. note:: If you are compiling Sundials 2.5.0 on Windows using CMake, you need + to edit the ``CMakeLists.txt`` file first and change the lines:: + + SET(PACKAGE_STRING "SUNDIALS 2.4.0") + SET(PACKAGE_VERSION "2.4.0") + + to read:: + + SET(PACKAGE_STRING "SUNDIALS 2.5.0") + SET(PACKAGE_VERSION "2.5.0") + + instead, so that Cantera can correctly identify the version of + Sundials. + * Required to build MSI installers on Windows. * Known to work with version 3.5.