On 2012-11-22 10:33, Noel O'Boyle wrote: > I've a problem compiling the Python bindings on trunk with MSVC due to > a recent addition to the codebase: > > 2>openbabel-python.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall > OpenBabel::OBFreeGridPoint::OBFreeGridPoint(void)" > (__imp_??0OBFreeGridPoint@OpenBabel@@QAE@XZ) referenced in function > __wrap_new_OBFreeGridPoint > 2>openbabel-python.obj : error LNK2019: unresolved external symbol > "__declspec(dllimport) public: __thiscall > OpenBabel::OBFreeGridPoint::~OBFreeGridPoint(void)" > (__imp_??1OBFreeGridPoint@OpenBabel@@QAE@XZ) referenced in function > __wrap_delete_OBFreeGridPoint > > OBFreeGridPoint is in generic.h and appears to have the necessary > OBAPI incantation. Any ideas? > > I note in passing that OBFreeGrid (a different class) doesn't seem to > have the same ctor and dtor as the other OBGenericData subclasses. I'm > not sure of the significance of this...
My bad I guess. The constructor and destructor are not defined anywhere. Adding {} in the generic.h file for both should fix that. > > - Noel > > ------------------------------------------------------------------------------ > Monitor your physical, virtual and cloud infrastructure from a single > web console. Get in-depth insight into apps, servers, databases, vmware, > SAP, cloud infrastructure, etc. Download 30-day Free Trial. > Pricing starts from $795 for 25 servers or applications! > http://p.sf.net/sfu/zoho_dev2dev_nov > _______________________________________________ > OpenBabel-Devel mailing list > OpenBabel-Devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/openbabel-devel > -- David van der Spoel, Ph.D., Professor of Biology Dept. of Cell & Molec. Biol., Uppsala University. Box 596, 75124 Uppsala, Sweden. Phone: +46184714205. sp...@xray.bmc.uu.se http://folding.bmc.uu.se ------------------------------------------------------------------------------ Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov _______________________________________________ OpenBabel-Devel mailing list OpenBabel-Devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-devel