matthewd139 / cantera

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

Cantera build fails with Visual Studio 2013 and Scons #240

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Download cantera source code. 
2. Download and install Scons (verify that Python version is less than 3)
3. Open VS 2013 Command Prompt
4. cd to cantera directory
5. # scons build

The build will fail on src\base\ct2ctml.cpp(63):

ct2ctml.cpp
src\base\ct2ctml.cpp(63) : error C3861: 'bind2nd': identifier not found
scons: *** ... etc Error 2

In order to fix this the following includes need to be added:

#include <iostream>
#include <functional>
#include <algorithm>

Original issue reported on code.google.com by edmu...@reaction-eng.com on 1 Oct 2014 at 6:57

GoogleCodeExporter commented 8 years ago
Hello,

From where are you downloading the source? What revision/version are you using?

Bryan

Original comment by bryan.w....@gmail.com on 2 Oct 2014 at 2:31

GoogleCodeExporter commented 8 years ago
Hi Bryan,

I'm using Version "2.2a (development)" and I downloaded the source from this 
site (https://code.google.com/p/cantera/downloads/list).

Braden

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

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r3208.

Original comment by yarmond on 3 Oct 2014 at 4:48