Dr. Tsafack,

I've forward your error message to the openbabel development mailing
list. Perhaps someone there may know what's going on with the shared
pointer classes?

OB devs, he is following the instructions at

http://xtalopt.openmolecules.net/wiki/index.fcgi/wiki/Installation

for building openbabel from git master on Mac OSX Mountain Lion, and
running into the following errors. It's having trouble resolving the
shared_ptr symbol and locating the Eigen headers:

In file included from /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:17:
/Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/alias.h:118:47: error:
      no template named 'shared_ptr'; did you mean
      'std::tr1::shared_ptr'?
  ...std::pair<std::string, shared_ptr<OBSmartsPattern> > >...
                            ^~~~~~~~~~
                            std::tr1::shared_ptr
/usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
      'std::tr1::shared_ptr' declared here
    class shared_ptr
          ^
In file included from
/Users/Thierry/Desktop/QE/src/openbabel/src/confsearch.cpp:25:
/Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/math/align.h:26:10:
fatal error:
      'Eigen/Core' file not found
#include <Eigen/Core>
         ^
/Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:273:9: error:
      no template named 'shared_ptr'; did you mean
      'std::tr1::shared_ptr'?
        shared_ptr<OBSmartsPattern> psp(new OBSmartsPattern);
        ^~~~~~~~~~
        std::tr1::shared_ptr
/usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
      'std::tr1::shared_ptr' declared here
    class shared_ptr
          ^
1 warning and 2 errors generated.
make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 warning and 1 error generated.
make[2]: *** [src/CMakeFiles/openbabel.dir/confsearch.o] Error 1
1 warning generated.
make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
make: *** [all] Error 2

Any suggestions?

Dave

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to