slepicka-craig / cantera

Automatically exported from code.google.com/p/cantera
0 stars 0 forks source link

VS2013 Build with sundials #241

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This could just be an error on my part:

cantera.conf

use_sundials = 'y"
sundials_includ" = "C:\\devtools\\sundials\\include"
sundials_libdir = "C:\\devtools\\sundials\\lib"

(Sundials is located in that directory)

When I execute: scons build

I get the following:

scons: Reading SConscript files ...
INFO: SCons is using the following Python interpreter: C:\Python26\python.exe
INFO: Compiling with MSVC 12.0
INFO: Compiling for architecture: amd64
INFO: Compiling using the following toolchain(s): ['default']
Configuration variables read from 'cantera.conf' and command line:
    use_sundials = 'y'
    sundials_include = 'C:\\devtools\\sundials\\include'
    sundials_libdir = 'C:\\devtools\\sundials\\lib'

Checking for C++ header file cmath... (cached) yes
Checking for C header file sys/times.h... (cached) no
Checking for C header file unistd.h... (cached) no
Checking for C header file fenv.h... (cached) yes
Checking whether erf is declared... (cached) yes
Checking for ::isnan(1.0)... (cached) yes
Checking for std::isnan(1.0)... (cached) yes
Checking for _isnan(1.0)... (cached) yes
Checking for C++ header file boost/math/special_functions/erf.hpp... (cached) no
Checking for CVodeCreate(CV_BDF, CV_NEWTON) in C++ library sundials_cvodes... no
Checking for double x; log(x) in C library None... (cached) yes
INFO: Skipping compilation of the Fortran 90 interface.
WARNING: Cython not found or incompatible version: Found 0.0.0 but 0.17 or 
newer is required.
WARNING: Not building the Python package  because NumPy could not be found.
INFO: Not building the Python 3 package because the Python 3 interpreter 
'python3' could not be found.
ERROR: Unable to find Sundials headers and / or libraries.
See 'config.log' for details.

I've tried adding it to my path, etc. and nothing fixes it.

I don't need Cython (I think..)

Original issue reported on code.google.com by edmu...@reaction-eng.com on 3 Oct 2014 at 5:05

GoogleCodeExporter commented 9 years ago
I'm using cantera v. 2.2a and sundials v 2.5.0

Original comment by edmu...@reaction-eng.com on 3 Oct 2014 at 5:08

GoogleCodeExporter commented 9 years ago
What does 'config.log' say?

I would suggest resolving this problem would probably be better done on the 
Cantera Users' Group. This site is more useful for tracking reproducible bugs 
than for providing configuration support.

Original comment by yarmond on 3 Oct 2014 at 6:35

GoogleCodeExporter commented 9 years ago
Ah okay I'll transfer it over. Thanks.

Original comment by edmu...@reaction-eng.com on 3 Oct 2014 at 6:38