> g++ -Wall -L/home/athri/openbabel-2.2.3/src/.libs/  
> -I/home/athri/openbabel-2.2.3 ./ex-1.cpp -o ex1
...
> The compiler does not find mol.h [“openbabel/mol.h: No such file or 
> directory"]

Well, if you want the header, you'd need something like:

g++ -Wall -I/home/athri/openbabel-2.2.3/include 
-L/home/athri/openbabel-2.2.3/src/.libs ex-1.cpp -o ex1 -lopenbabel

(You will also need to link in the libopenbabel binary.)

This isn't the most reliable technique -- you really should be installing the 
headers and libraries somewhere, rather than trying to link against the objects 
in the build tree.

Hope that helps,
-Geoff
------------------------------------------------------------------------------
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