Skip to content

Instantly share code, notes, and snippets.

@MelanieS
Created August 24, 2017 01:44
Show Gist options
  • Save MelanieS/5301a83051c04bb41edfa8c28949fe17 to your computer and use it in GitHub Desktop.
Save MelanieS/5301a83051c04bb41edfa8c28949fe17 to your computer and use it in GitHub Desktop.
Collecting openbabel
Using cached openbabel-2.4.1.tar.gz
Building wheels for collected packages: openbabel
Running setup.py bdist_wheel for openbabel ... error
Complete output from command /Users/melanie/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-build-mqt3cds7/openbabel/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/tmpz5m2j2_fpip-wheel- --python-tag cp36:
running bdist_wheel
running build
running build_ext
Open Babel location automatically determined by pkg-config:
- include_dirs: ['/Users/melanie/anaconda/include/python3.6m', '/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0']
- library_dirs: ['/Users/melanie/anaconda/lib', '/usr/local/Cellar/open-babel/2.4.1/lib']
building '_openbabel' extension
swigging openbabel-python.i to openbabel-python_wrap.cpp
swig -python -c++ -small -O -templatereduce -naturalvar -I/Users/melanie/anaconda/include/python3.6m -I/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0 -o openbabel-python_wrap.cpp openbabel-python.i
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/obconversion.h:369: Warning 325: Nested struct not currently supported (StreamState ignored)
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/isomorphism.h:159: Warning 325: Nested class not currently supported (Functor ignored)
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/spectrophore.h:571: Warning 312: Nested struct not currently supported (ignored).
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/spectrophore.h:578: Warning 312: Nested struct not currently supported (ignored).
creating build
creating build/temp.macosx-10.7-x86_64-3.6
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/melanie/anaconda/include -arch x86_64 -I/Users/melanie/anaconda/include -arch x86_64 -I/Users/melanie/anaconda/include/python3.6m -I/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0 -c openbabel-python_wrap.cpp -o build/temp.macosx-10.7-x86_64-3.6/openbabel-python_wrap.o
In file included from openbabel-python_wrap.cpp:3395:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/griddata.h:74:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual]
double GetValue(int i, int j, int k) const;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/base.h:229:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 3)
virtual const std::string &GetValue() const
^
In file included from openbabel-python_wrap.cpp:3395:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/griddata.h:76:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual]
double GetValue (vector3 pos) const;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/base.h:229:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 1)
virtual const std::string &GetValue() const
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:15: error: no member named 'shared_ptr' in namespace 'std'
std::vector<obsharedptr<OBMol> > _reactants;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:27: error: 'OBMol' does not refer to a value
std::vector<obsharedptr<OBMol> > _reactants;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/mol.h:113:14: note: declared here
class OBAPI OBMol: public OBBase
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:34: error: expected member name or ';' after declaration specifiers
std::vector<obsharedptr<OBMol> > _reactants;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:15: error: no member named 'shared_ptr' in namespace 'std'
std::vector<obsharedptr<OBMol> > _products;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:27: error: 'OBMol' does not refer to a value
std::vector<obsharedptr<OBMol> > _products;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/mol.h:113:14: note: declared here
class OBAPI OBMol: public OBBase
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:34: error: expected member name or ';' after declaration specifiers
std::vector<obsharedptr<OBMol> > _products;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:41:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> _ts;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:41:14: error: expected member name or ';' after declaration specifiers
obsharedptr<OBMol> _ts;
~~~~~~~~~~~^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:42:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> _agent;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:42:14: error: expected member name or ';' after declaration specifiers
obsharedptr<OBMol> _agent;
~~~~~~~~~~~^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:26: error: no type named 'shared_ptr' in namespace 'std'
void AddReactant(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:37: error: expected ')'
void AddReactant(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:19: note: to match this '('
void AddReactant(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:25: error: no type named 'shared_ptr' in namespace 'std'
void AddProduct(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:36: error: expected ')'
void AddProduct(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:18: note: to match this '('
void AddProduct(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:33: error: no type named 'shared_ptr' in namespace 'std'
void SetTransitionState(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:44: error: expected ')'
void SetTransitionState(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:26: note: to match this '('
void SetTransitionState(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:23: error: no type named 'shared_ptr' in namespace 'std'
void AddAgent(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:34: error: expected ')'
void AddAgent(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:16: note: to match this '('
void AddAgent(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:68:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> GetReactant(const unsigned i)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Failed building wheel for openbabel
Running setup.py clean for openbabel
Failed to build openbabel
Installing collected packages: openbabel
Running setup.py install for openbabel ... error
Complete output from command /Users/melanie/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-build-mqt3cds7/openbabel/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-npjgjsfn-record/install-record.txt --single-version-externally-managed --compile:
running install
running build_ext
Open Babel location automatically determined by pkg-config:
- include_dirs: ['/Users/melanie/anaconda/include/python3.6m', '/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0']
- library_dirs: ['/Users/melanie/anaconda/lib', '/usr/local/Cellar/open-babel/2.4.1/lib']
building '_openbabel' extension
swigging openbabel-python.i to openbabel-python_wrap.cpp
swig -python -c++ -small -O -templatereduce -naturalvar -I/Users/melanie/anaconda/include/python3.6m -I/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0 -o openbabel-python_wrap.cpp openbabel-python.i
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/obconversion.h:369: Warning 325: Nested struct not currently supported (StreamState ignored)
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/isomorphism.h:159: Warning 325: Nested class not currently supported (Functor ignored)
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/spectrophore.h:571: Warning 312: Nested struct not currently supported (ignored).
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/spectrophore.h:578: Warning 312: Nested struct not currently supported (ignored).
creating build
creating build/temp.macosx-10.7-x86_64-3.6
gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/melanie/anaconda/include -arch x86_64 -I/Users/melanie/anaconda/include -arch x86_64 -I/Users/melanie/anaconda/include/python3.6m -I/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0 -c openbabel-python_wrap.cpp -o build/temp.macosx-10.7-x86_64-3.6/openbabel-python_wrap.o
In file included from openbabel-python_wrap.cpp:3395:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/griddata.h:74:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual]
double GetValue(int i, int j, int k) const;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/base.h:229:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 3)
virtual const std::string &GetValue() const
^
In file included from openbabel-python_wrap.cpp:3395:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/griddata.h:76:12: warning: 'OpenBabel::OBGridData::GetValue' hides overloaded virtual function [-Woverloaded-virtual]
double GetValue (vector3 pos) const;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/base.h:229:32: note: hidden overloaded virtual function 'OpenBabel::OBGenericData::GetValue' declared here: different number of parameters (0 vs 1)
virtual const std::string &GetValue() const
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:15: error: no member named 'shared_ptr' in namespace 'std'
std::vector<obsharedptr<OBMol> > _reactants;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:27: error: 'OBMol' does not refer to a value
std::vector<obsharedptr<OBMol> > _reactants;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/mol.h:113:14: note: declared here
class OBAPI OBMol: public OBBase
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:39:34: error: expected member name or ';' after declaration specifiers
std::vector<obsharedptr<OBMol> > _reactants;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:15: error: no member named 'shared_ptr' in namespace 'std'
std::vector<obsharedptr<OBMol> > _products;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:27: error: 'OBMol' does not refer to a value
std::vector<obsharedptr<OBMol> > _products;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/mol.h:113:14: note: declared here
class OBAPI OBMol: public OBBase
^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:40:34: error: expected member name or ';' after declaration specifiers
std::vector<obsharedptr<OBMol> > _products;
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:41:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> _ts;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:41:14: error: expected member name or ';' after declaration specifiers
obsharedptr<OBMol> _ts;
~~~~~~~~~~~^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:42:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> _agent;
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:42:14: error: expected member name or ';' after declaration specifiers
obsharedptr<OBMol> _agent;
~~~~~~~~~~~^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:26: error: no type named 'shared_ptr' in namespace 'std'
void AddReactant(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:37: error: expected ')'
void AddReactant(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:56:19: note: to match this '('
void AddReactant(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:25: error: no type named 'shared_ptr' in namespace 'std'
void AddProduct(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:36: error: expected ')'
void AddProduct(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:59:18: note: to match this '('
void AddProduct(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:33: error: no type named 'shared_ptr' in namespace 'std'
void SetTransitionState(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:44: error: expected ')'
void SetTransitionState(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:62:26: note: to match this '('
void SetTransitionState(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:23: error: no type named 'shared_ptr' in namespace 'std'
void AddAgent(const obsharedptr<OBMol> sp)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
In file included from openbabel-python_wrap.cpp:3401:
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:34: error: expected ')'
void AddAgent(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:65:16: note: to match this '('
void AddAgent(const obsharedptr<OBMol> sp)
^
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/reaction.h:68:3: error: no type named 'shared_ptr' in namespace 'std'
obsharedptr<OBMol> GetReactant(const unsigned i)
^~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/shared_ptr.h:25:23: note: expanded from macro 'obsharedptr'
#define obsharedptr OB_SHARED_PTR_IMPLEMENTATION
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/Cellar/open-babel/2.4.1/include/openbabel-2.0/openbabel/babelconfig.h:153:43: note: expanded from macro 'OB_SHARED_PTR_IMPLEMENTATION'
#define OB_SHARED_PTR_IMPLEMENTATION std::shared_ptr
~~~~~^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
2 warnings and 20 errors generated.
error: command 'gcc' failed with exit status 1
----------------------------------------
Command "/Users/melanie/anaconda/bin/python -u -c "import setuptools, tokenize;__file__='/private/var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-build-mqt3cds7/openbabel/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-npjgjsfn-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/var/folders/kp/q4m56gkx7rj1g1r_ywpyt3cc0000gn/T/pip-build-mqt3cds7/openbabel/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment