Hi Nicolas, in my case (also Ubuntu) the problem was that I had to move the -lopenbabel to the end of the line. Seems like your's might be the same problem ?
Also I'd recommend to split your command in two, first a compile and then the linking command. That way it's easier to locate problems. The following should work ? g++ -I /home/nicolas/Programmes/OpenBabel-2.3.2/include/openbabel-2.0 -c example.cpp g++ -L /home/nicolas/Programmes/OpenBabel-2.3.2/lib example.cpp -o example -lopenbabel regards, Rafel -- View this message in context: http://forums.openbabel.org/Problem-for-compiling-the-example-files-tp4656837p4656884.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Shape the Mobile Experience: Free Subscription Software experts and developers: Be at the forefront of tech innovation. Intel(R) Software Adrenaline delivers strategic insight and game-changing conversations that shape the rapidly evolving mobile landscape. Sign up now. http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss