newbie compiling problems

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

newbie compiling problems

Prashanth Athri-2

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:]


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.




This email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit --
OpenBabel-discuss mailing list
[hidden email]