> g++: -lopenbabel: linker input file unused because linking not done
This sounds like you are supplying -lopenbabel when you are compiling objects
before linking the binary. Assuming the binary links, there's no problem -- the
compiler is just telling you that you don't need -lopenbabel (e.g.,
So the issue was with the BABEL_DATADIR and BABEL_LIBDIR and it was not
reading the molecule. Now I get the correct molecular weights. But still
have no clue whats triggering
g++: -lopenbabel: linker input file unused because linking not done
Any suggestions ? Will this create trouble in future.