I just downloaded and installed OpenBabel locally (non-root)
and set $PATH and $LD_LIBRARY_PATH as per instructions.
When I try to compile the example code:
int main ()
With the command:
g++ -Wall -L/home/athri/openbabel-2.2.3/src/.libs/
-I/home/athri/openbabel-2.2.3 ./ex-1.cpp -o ex1
[based on an older post: http://open-babel.957263.n4.nabble.com/C-example-and-babelconfig-h-td958991.html]
The compiler does not find mol.h [“openbabel/mol.h: No
such file or directory]
I am not sure how to link the header.
Any help will be appreciated.