Skip to content

Instantly share code, notes, and snippets.

@llazzaro
Last active May 4, 2016 15:55
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
openbabel compilation
sudo apt-get install build-essential
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz
tar xf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./configure
make
git clone https://github.com/openbabel/openbabel.git
cd openbabel
mkdir build
cd build
cmake .. -DPYTHON_BINDINGS=ON -DRUN_SWIG=ON -DCMAKE_INSTALL_PREFIX=~/anaconda2 -DPYTHON_INCLUDE_DIR=~/anaconda2/include/python2.7 -DCMAKE_LIBRARY_PATH=~/anaconda2/lib -DSWIG_DIR=~/anaconda2/share/swig/3.0.2/ -DSWIG_EXECUTABLE=~/anaconda2/bin/swig -DPYTHON_LIBRARY=~/anaconda2/lib/libpython2.7.so -DCMAKE_BUILD_TYPE=DEBUG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment