I have simmilar problem building Trunk on CentOS 5:

CMakeFiles/bindings_python.dir/python/openbabel-python.cpp.o: In function
`_wrap_new_OBFreeGridPoint__SWIG_0':
/mnt/lustre/home/maciek/openbabel/openbabel-svn/scripts/python/openbabel-python.cpp:20526:
undefined reference to `OpenBabel::OBFreeGridPoint::OBFreeGridPoint()'
CMakeFiles/bindings_python.dir/python/openbabel-python.cpp.o: In function
`_wrap_delete_OBFreeGridPoint':
/mnt/lustre/home/maciek/openbabel/openbabel-svn/scripts/python/openbabel-python.cpp:20557:
undefined reference to `OpenBabel::OBFreeGridPoint::~OBFreeGridPoint()'
collect2: ld returned 1 exit status


cmake 2.9.10.2, Python 2.7, swig 2.0.8, eigen 2+3 rest is stock.

----
Pozdrawiam,  |  Best regards,
Maciek Wójcikowski
mac...@wojcikowski.pl



2012/11/22 David van der Spoel <sp...@xray.bmc.uu.se>

> 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
>
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel

Reply via email to