[OpenBabel-Devel] C/C++ linker problem?

2012-05-03 Thread Craig James
I doubt anyone will be able to shed light on this, but... OpenBabel is randomly hanging in the C++ deallocator. See the stack trace below. I've run into weird problems like this before, and it was related to the fact that I'm linking a C++ library (OpenBabel) into a C program (the Postgres databa

Re: [OpenBabel-Devel] reactions and polymers in openbabel

2012-05-03 Thread Igor Filippov [Contr]
Chris, I'm finally picking up the thread with the reactions. A quick question for you - my first attempt to follow through on your example got me a seg fault - OBReaction does not seem to have a destructor, so when react goes out of scope my program crashes. I was able to work around this by allo

Re: [OpenBabel-Devel] Python bindings now returning long instead of int?

2012-05-03 Thread Richard West
On May 1, 2012, at 10:04 PM, Geoff Hutchison wrote: > > What version of SWIG are you using? > I have SWIG Version 2.0.6 Compiled with /usr/bin/clang++ [i386-apple-darwin11.4.0] Configured options: +pcre On May 2, 2012, at 5:27 AM, Noel O'Boyle wrote: > Are you comparing 32-bit builds? > No,

Re: [OpenBabel-Devel] [Avogadro-devel] OBConformerSearch undefined references, missing vtable

2012-05-03 Thread Marcus D. Hanwell
On Thu, May 3, 2012 at 10:31 AM, Geoff Hutchison wrote: >> So from Avogadro, we'll need to know whether or not to expect these features >> to be available. Does OpenBabel export anything that will let us know if it >> was built with Eigen? Or is it just time to make Eigen a hard dependency for

Re: [OpenBabel-Devel] OBConformerSearch undefined references, missing vtable

2012-05-03 Thread Geoff Hutchison
> So from Avogadro, we'll need to know whether or not to expect these features > to be available. Does OpenBabel export anything that will let us know if it > was built with Eigen? Or is it just time to make Eigen a hard dependency for > OB? Eigen is hardly difficult to find these days, are ther

Re: [OpenBabel-Devel] OBConformerSearch undefined references, missing vtable

2012-05-03 Thread David Lonie
Ah, that's the problem. So from Avogadro, we'll need to know whether or not to expect these features to be available. Does OpenBabel export anything that will let us know if it was built with Eigen? Or is it just time to make Eigen a hard dependency for OB? Eigen is hardly difficult to find these

Re: [OpenBabel-Devel] OBConformerSearch undefined references, missing vtable

2012-05-03 Thread Noel O'Boyle
If OB is not built with Eigen these classes are missing. On 3 May 2012 11:42, David Lonie wrote: > I'm having an issue compiling the latest avogadro, and it looks like an > issue with the new OBConformerSearch class. Can anyone reproduce? This is > with a fresh checkout/build of both avogadro an

[OpenBabel-Devel] OBConformerSearch undefined references, missing vtable

2012-05-03 Thread David Lonie
I'm having an issue compiling the latest avogadro, and it looks like an issue with the new OBConformerSearch class. Can anyone reproduce? This is with a fresh checkout/build of both avogadro and openbabel. Linking CXX shared module ../../../lib/forcefieldextension.so CMakeFiles/forcefieldextension