iniyuan / confab

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

confab installation error on Mac OS X #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. running "make" command with local installation
2.
3.

What is the expected output? What do you see instead?
Instead of compiling, following error produced

Scanning dependencies of target openbabel
[  1%] Building CXX object src/CMakeFiles/openbabel.dir/alias.o
In file included from /Users/jplaks/Rosetta/Confab-1.0.1/src/alias.cpp:17:
In file included from 
/Users/jplaks/Rosetta/Confab-1.0.1/include/openbabel/alias.h:19:
/Users/jplaks/Rosetta/Confab-1.0.1/include/openbabel/shared_ptr.h:25:14: fatal 
error: 
      'tr1/memory' file not found
    #include <tr1/memory>
             ^

What version of the product are you using? On what operating system?
confab1.0.1 on OS X 10.9.1

Please provide any additional information below.

changing  
#include <tr1/memory>
  #endif
  using std::tr1::shared_ptr; 
to
 #include <memory>
  #endif

in shared_ptr.h seems to "fix" the problem, but produces a lot of warning 
messages not seen when installing on a linux system. Is there a better way 
around this problem?

Original issue reported on code.google.com by joepl...@gmail.com on 7 Jan 2014 at 10:26

GoogleCodeExporter commented 8 years ago
In the last few months I have been working on the next step in the evolution of 
Confab which should fix all of these sorts of problems.

Confab is now part of the official Open Babel codebase. Right now, it is just 
available in the git repository (that is, it is not in the current release). 
You can download this code from 
https://github.com/openbabel/openbabel/archive/master.zip

Documentation is available at 
http://open-babel.readthedocs.org/en/latest/3DStructureGen/multipleconformers.ht
ml#confab

Original comment by baoille...@gmail.com on 8 Jan 2014 at 9:24