Re: [Open Babel] C++ API: problem with library linking

2012-10-28 Thread Ling Chan
Yes, it works now after I have added cygopenbabel-4.dll to the PATH. Many thanks Noel! For a smoother experience moving forward, is it that I should use MSVC++ when I follow the Quickstart example (or write other C++ programs)? Or perhaps I should have changed some settings when making my OpenBabe

Re: [Open Babel] set bondlength

2012-10-28 Thread rik1654
Thanks Chris, I am back on track Rik -- View this message in context: http://forums.openbabel.org/set-bondlength-tp4655619p4655625.html Sent from the General discussion mailing list archive at Nabble.com. -- WINDOWS 8

Re: [Open Babel] FindOpenBabel2.cmake

2012-10-28 Thread Reinis Danne
On Sun, Oct 28, 2012 at 02:14:13PM +0100, David van der Spoel wrote: > Hi, > > I'm trying to link my project to the development version of openbabel2 > which is installed in $HOME/openbabel-dev/install > I there added the FindOpenBabel2.cmake that floats around the internet > to my software pack

[Open Babel] FindOpenBabel2.cmake

2012-10-28 Thread David van der Spoel
Hi, I'm trying to link my project to the development version of openbabel2 which is installed in $HOME/openbabel-dev/install I there added the FindOpenBabel2.cmake that floats around the internet to my software packages cmake directory, and then added the stuff below to the software package's C

Re: [Open Babel] set bondlength

2012-10-28 Thread Chris Morley
On 28/10/2012 00:06, rik1654 wrote: > Hi all > > I would like to have the svg image resized but the p option does not seem to > be working. The output always has the same size > > example > > obabel -:"C1=CC=CC(=C1C(=O)[H])N([H])[H]" -xu -p 10 -O /tmp/out.svg > > or > > obabel -:"C1=CC=CC(=C1C(=O)[

Re: [Open Babel] C++ API: problem with library linking

2012-10-28 Thread Noel O'Boyle
You are compiling under Cygwin, so the names of the DLLs are different. If you add cygopenbabel-4.dll to the PATH, then Windows can find it when you run example.exe. - Noel On 28 October 2012 03:33, Ling Chan wrote: > Hello folks, > > I am trying to get started with using the OpenBabel librarie