When following the install guide on
http://open-babel.readthedocs.org/en/latest/Installation/install.html#requirements
Visual Studio 2013 Express will not build the release and have 86 errors
(see below)

What am I doing wrong?



Error   1       error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   2       error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   3       error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   4       error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   5       error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   6       error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   13      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   14      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   15      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   16      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   17      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   18      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   19      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   20      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   21      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   22      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   23      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   24      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   25      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   26      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   27      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       openbabel
Error   28      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   29      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   30      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       openbabel
Error   31      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\src\math\vector3.cpp 136     1       openbabel
Error   32      error C3861: 'min': identifier not found
C:\openbabel-2.3.2\src\math\vector3.cpp 136     1       openbabel
Error   33      error C2039: 'binder1st' : is not a member of 'std'
C:\openbabel-2.3.2\src\stereo\perception.cpp    2858    1       openbabel
Error   34      error C4430: missing type specifier - int assumed. Note: C++ 
does
not support default-int C:\openbabel-2.3.2\src\stereo\perception.cpp    2858    
1
openbabel
Error   35      error C2143: syntax error : missing ';' before '<'
C:\openbabel-2.3.2\src\stereo\perception.cpp    2858    1       openbabel
Error   36      error C2039: 'bind1st' : is not a member of 'std'
C:\openbabel-2.3.2\src\stereo\perception.cpp    2858    1       openbabel
Error   37      error C2065: 'equal_to_atomId' : undeclared identifier
C:\openbabel-2.3.2\src\stereo\perception.cpp    2875    1       openbabel
Error   38      error C2065: 'equal_to_atomId' : undeclared identifier
C:\openbabel-2.3.2\src\stereo\perception.cpp    2882    1       openbabel
Error   39      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      babel
Error   40      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_cairo
Error   41      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_cairo
Error   42      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_cairo
Error   43      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_cairo
Error   44      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_cairo
Error   45      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_cairo
Error   46      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\src\depict\cairopainter.cpp  48      1       formats_cairo
Error   47      error C3861: 'min': identifier not found
C:\openbabel-2.3.2\src\depict\cairopainter.cpp  48      1       formats_cairo
Error   48      error C2065: 'less_equal' : undeclared identifier
C:\openbabel-2.3.2\src\formats\fchkformat.cpp   526     1       formats_compchem
Error   49      error C2062: type 'int' unexpected
C:\openbabel-2.3.2\src\formats\fchkformat.cpp   526     1       formats_compchem
Error   50      error C2143: syntax error : missing ';' before '{'
C:\openbabel-2.3.2\src\formats\fchkformat.cpp   536     1       formats_compchem
Error   51      error C3861: 'bind2nd': identifier not found
C:\openbabel-2.3.2\src\formats\fchkformat.cpp   526     1       formats_compchem
Error   52      error LNK1181: cannot open input file 
'..\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\src\formats\LINK        formats_common
Error   53      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_utility
Error   54      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_utility
Error   55      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_utility
Error   56      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_utility
Error   57      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_utility
Error   58      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_utility
Error   59      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\src\depict\asciipainter.cpp  46      1       formats_utility
Error   60      error C3861: 'min': identifier not found
C:\openbabel-2.3.2\src\depict\asciipainter.cpp  46      1       formats_utility
Error   73      error C3861: 'bind1st': identifier not found
C:\openbabel-2.3.2\src\formats\povrayformat.cpp 520     1       formats_utility
Error   74      error C3861: 'bind1st': identifier not found
C:\openbabel-2.3.2\src\formats\povrayformat.cpp 581     1       formats_utility
Error   75      error C2440: 'return' : cannot convert from 'std::ostream' to
'bool'  C:\openbabel-2.3.2\src\formats\textformat.cpp   82      1       
formats_utility
Error   77      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_xml
Error   78      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_xml
Error   79      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   232     1       formats_xml
Error   80      error C2039: 'min' : is not a member of 'std'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_xml
Error   81      error C2065: 'min' : undeclared identifier
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_xml
Error   82      error C2059: syntax error : 'const'
C:\openbabel-2.3.2\include\openbabel\obutil.h   238     1       formats_xml
Error   84      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obabel
Error   85      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obchiral
Error   86      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obconformer
Error   87      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obenergy
Error   88      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obfit
Error   89      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obgen
Error   90      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obgrep
Error   91      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obminimize
Error   92      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obprobe
Error   93      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obprop
Error   94      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obrms
Error   95      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obrotamer
Error   96      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obrotate
Error   97      error LNK1181: cannot open input file
'..\src\Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\tools\LINK      obspectrophore
Error   99      error C2668: 'temperf::erf' : ambiguous call to overloaded 
function
C:\openbabel-2.3.2\src\charges\qeq.cpp  300     1       plugin_charges
Error   101     error C2668: 'temperf::erf' : ambiguous call to overloaded
function        C:\openbabel-2.3.2\src\charges\qtpie.cpp        344     1       
plugin_charges
Error   102     error LNK1181: cannot open input file 'Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\src\LINK        plugin_descriptors
Error   103     error LNK1181: cannot open input file 'Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\src\LINK        plugin_fingerprints
Error   107     error LNK1181: cannot open input file 'Release\openbabel-2.lib'
C:\openbabel-2.3.2\windows-vc2008\build\src\LINK        plugin_forcefields
Error   108     error C2678: binary '!=' : no operator found which takes a
left-hand operand of type 'std::istream' (or there is no acceptable
conversion)     C:\openbabel-2.3.2\src\formats\chemkinformat.cpp        642     
1
formats_misc
Error   112     error C2664: 'std::pair<OpenBabel::OBBase *,double>
std::make_pair<OpenBabel::OBBase*,double>(_Ty1 &&,_Ty2 &&)' : cannot convert
argument 1 from 'OpenBabel::OBBase *' to 'OpenBabel::OBBase *&&'
C:\openbabel-2.3.2\src\ops\sort.cpp     117     1       plugin_ops
Error   113     error C2664: 'std::pair<OpenBabel::OBBase *,std::string>
std::make_pair<OpenBabel::OBBase*,std::string>(_Ty1 &&,_Ty2 &&)' : cannot
convert argument 1 from 'OpenBabel::OBBase *' to 'OpenBabel::OBBase *&&'
C:\openbabel-2.3.2\src\ops\sort.cpp     147     1       plugin_ops
Error   114     error C2440: 'initializing' : cannot convert from
'std::basic_istream<char,std::char_traits&lt;char>>' to 'bool'
C:\openbabel-2.3.2\src\ops\conformer.cpp        83      1       plugin_ops





--
View this message in context: 
http://forums.openbabel.org/Build-with-MCVC-2013-86-errors-when-building-release-tp4657527.html
Sent from the General discussion mailing list archive at Nabble.com.

------------------------------------------------------------------------------
HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions
Find What Matters Most in Your Big Data with HPCC Systems
Open Source. Fast. Scalable. Simple. Ideal for Dirty Data.
Leverages Graph Analysis for Fast Processing & Easy Data Exploration
http://p.sf.net/sfu/hpccsystems
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to