Am Montag, den 30.07.2012, 22:43 -0400 schrieb Geoff Hutchison: > > I am having some problems to compile OpenBabel on Ubuntu with static > > libs. The compiler is GNU (GCC/G++), Eigen3, Zlib, Cairo and XML2 > > libraries were installed. > > > > The error message appears during the linking step: > > > > Linking CXX executable ../bin/babel > > ../src/libopenbabel.a(plugin.o): In function > > `OpenBabel::EnableStaticPlugins()': > > /home/asn/Downloads/openbabel/src/plugin.cpp:245: undefined reference > > to `OpenBabel::theChemDrawBinaryFormat' > > > My first suggestion would be to try SVN trunk. > http://openbabel.org/wiki/Subversion > > I know there have been multiple patches towards static compilation. Not all > of them can be incorporated into the v2.3 release branch. >
Current trunk has the same error. The ChemDrawBinaryFormat got a major overhaul, the diff between 2.3.1 and trunk is not small. As a temporary solution and if you do not need that format you can comment line 245 in plugin.cpp. After that openbabel compiles fine. Hope that helps, Bjoern > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > OpenBabel-discuss mailing list > OpenBabel-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-discuss ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss