Dear List,

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:

#include <iostream>
#include <openbabel/mol.h>
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.

Thanks,
Prashanth
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to