From 115679ac17e37d763389b893f30e1ed9851f6400 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 14 Apr 2014 18:37:43 +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. --- doc/sphinx/compiling.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/doc/sphinx/compiling.rst b/doc/sphinx/compiling.rst index 34bc82b26..d42bbc416 100644 --- a/doc/sphinx/compiling.rst +++ b/doc/sphinx/compiling.rst @@ -491,6 +491,21 @@ Optional Programs configure --with-cflags=-fPIC + .. 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. + + * `Windows Installer XML (WiX) toolset `_ * Required to build MSI installers on Windows.